2 ms·
Certainly interesting, but not really useful IMO. Instructions that are present very rarely might be executed far more frequently if they are within a loop, pa
by dspillett 11y ago
Certainly interesting, but not really useful IMO.
Instructions that are present very rarely might be executed far more frequently if they are within a loop, particularly a tight number-crunching loop.
I suspect that MOV instructions would still dominate but that you would see then "minorities" within the instruction set getting more representation in the stats.
- jeremiep 11y agoSame goes for optimizations, where we assume 80% of the time is spent in 20% of the code. We just finished profiling our 1M LOC C++ codebase and it shows even more extreme numbers; we hit close to 95% of the time spent in 5% of the code.