Skip to content

Instantly share code, notes, and snippets.

@meiersi
Created April 11, 2012 21:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save meiersi/2362561 to your computer and use it in GitHub Desktop.
Save meiersi/2362561 to your computer and use it in GitHub Desktop.
benchmarking bytestring to hex-string conversion
./dist/build/bench-bytestring-builder/bench-bytestring-builder snoyman
Sanity checks:
lengths of input data: [10001,10001,10001,10001,10001,10001,10001]
warming up
estimating clock resolution...
mean is 5.480878 us (160001 iterations)
found 3843 outliers among 159999 samples (2.4%)
3403 (2.1%) high severe
estimating cost of a clock call...
mean is 33.50252 ns (52 iterations)
found 5 outliers among 52 samples (9.6%)
5 (9.6%) high severe
benchmarking snoyman-short-sample/simple
mean: 2.678919 ms, lb 2.586815 ms, ub 2.763460 ms, ci 0.950
std dev: 451.7900 us, lb 413.0574 us, ub 482.0673 us, ci 0.950
variance introduced by outliers: 91.535%
variance is severely inflated by outliers
benchmarking snoyman-short-sample/unfoldrN_MS1
mean: 182.6790 us, lb 177.9173 us, ub 189.0489 us, ci 0.950
std dev: 27.83588 us, lb 22.38260 us, ub 32.82741 us, ci 0.950
found 19 outliers among 100 samples (19.0%)
18 (18.0%) high severe
variance introduced by outliers: 90.443%
variance is severely inflated by outliers
benchmarking snoyman-short-sample/new bytestring builder (10000)
mean: 5.788133 us, lb 5.771911 us, ub 5.827485 us, ci 0.950
std dev: 119.5891 ns, lb 36.12793 ns, ub 215.2321 ns, ci 0.950
found 4 outliers among 100 samples (4.0%)
3 (3.0%) high severe
variance introduced by outliers: 13.283%
variance is moderately inflated by outliers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment