cuprate_benchmark

Function main

Source
pub(crate) fn main()
Expand description

What main() does:

  1. Run all enabled benchmarks
  2. Record benchmark timings
  3. Print timing data

To add a new benchmark to be ran here:

  1. Copy + paste a cfg_if block
  2. Change it to your benchmark’s feature flag
  3. Change it to your benchmark’s type