You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 19, 2021. It is now read-only.
Simple cycle-measuring based profiling setup in tests/prof.c
- uses rdtsc instruction for cycle-level measurement
- averages each test repeatedly over PROF_INTERVAL cycles
- test best result of PROF_RUNS runs to throw out unexpected interrupts
- percentage comparison with previous versions for tangible results
To profile a single instance:
make prof
To compare two runs (this will show rough measurement error):
make prof > results.txt && cat results.txt | make prof
0 commit comments