#performance #timing #criterion #library

performance-timing

Performance measurement library. Supports CPU cycle accurate measurement for x86 platforms.

2 releases

0.1.1 May 16, 2021
0.1.0 May 16, 2021

#27 in #criterion

MIT/Apache

12KB
223 lines

Rust performance timing library

Small library to measure critical code performance in CPU clocks.

Supports multiple modes:

  • Function meaurements (measure_function_perf)
  • Code block measurement (MeasureRegion)
  • Criterion based measurement (CriterionCycleCounter)

Dependencies

~9–20MB
~263K SLoC