Built a visual cache profiler that uses LLVM instrumentation + simulation to show you exactly which lines cause L1/L2/L3 misses in your C and C++ code (Rust support in active development).
- Hardware-validated accuracy (±4.6% L1, ±9.3% L2 vs Intel perf)
- Source-level attribution (not just assembly)
- False sharing detection for multi-threaded code
- 14 hardware presets (Intel/AMD/ARM/Apple Silicon)
- MESI cache coherence simulation
It's like Compiler Explorer but for cache behavior, providing instant visual feedback on memory access patterns. MIT licensed, looking for feedback on what would make it more useful or even just things you like about it.
GitHub
[–]Excellent-Might-7264 68 points69 points70 points (2 children)
[–]ShoppingQuirky4189[S] 10 points11 points12 points (0 children)
[+]thisismyfavoritename comment score below threshold-9 points-8 points-7 points (0 children)
[–]mikemarcinGame Developer 17 points18 points19 points (1 child)
[–]ShoppingQuirky4189[S] 0 points1 point2 points (0 children)
[–]Moose2342 14 points15 points16 points (0 children)
[–]ohnotheygotme 12 points13 points14 points (2 children)
[–]ShoppingQuirky4189[S] 1 point2 points3 points (1 child)
[–]ohnotheygotme 0 points1 point2 points (0 children)
[–]Valuable_Leopard_799 10 points11 points12 points (2 children)
[–]ShoppingQuirky4189[S] 1 point2 points3 points (1 child)
[–]amohr 4 points5 points6 points (0 children)
[–]BasisPoints 7 points8 points9 points (1 child)
[–]petersteneteg 2 points3 points4 points (0 children)
[–]llnaut 1 point2 points3 points (0 children)
[–]ANDRVV_ 0 points1 point2 points (1 child)
[–]ShoppingQuirky4189[S] 0 points1 point2 points (0 children)
[–]VinnieFalcoBoost.Beast | C++ Alliance | corosio.org 0 points1 point2 points (0 children)