Skip to content

Instantly share code, notes, and snippets.

@turtlesoupy
Created May 21, 2020 00:47
Show Gist options
  • Select an option

  • Save turtlesoupy/a7f9f7be524e214f3df039a9ed9fb020 to your computer and use it in GitHub Desktop.

Select an option

Save turtlesoupy/a7f9f7be524e214f3df039a9ed9fb020 to your computer and use it in GitHub Desktop.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
skimpy_bench is a Catch v2.11.1 host application.
Run with -? for options
-------------------------------------------------------------------------------
Benchmark skimpy arrays
-------------------------------------------------------------------------------
/home/tdimson/projects/skimpy/tests/benchmarks/skimpy_bench.cpp:11
...............................................................................
benchmark name samples iterations estimated
mean low mean high mean
std dev low std dev high std dev
-------------------------------------------------------------------------------
univariate_assign_1 100 3 2.3049 ms
7.813 us 7.759 us 7.938 us
393 ns 191 ns 732 ns
univariate_assign_10 100 3 2.8185 ms
9.473 us 9.352 us 9.982 us
1.084 us 162 ns 2.54 us
univariate_assign_100 100 2 2.9836 ms
15.43 us 15.081 us 15.989 us
2.219 us 1.622 us 3.548 us
multiply_2 100 1 1.06504 s
10.8216 ms 10.6989 ms 10.9237 ms
568.964 us 473.983 us 792.339 us
multiply_4 100 1 2.40975 s
24.2532 ms 24.0291 ms 24.506 ms
1.211 ms 1.02968 ms 1.44059 ms
multiply_8 100 1 5.14511 s
51.1697 ms 50.4397 ms 52.2405 ms
4.44887 ms 3.31678 ms 6.24063 ms
multiply_16 100 1 11.0736 s
105.061 ms 104.044 ms 106.889 ms
6.77632 ms 4.36841 ms 11.6451 ms
-------------------------------------------------------------------------------
Benchmark skimpy array builders
-------------------------------------------------------------------------------
/home/tdimson/projects/skimpy/tests/benchmarks/skimpy_bench.cpp:99
...............................................................................
benchmark name samples iterations estimated
mean low mean high mean
std dev low std dev high std dev
-------------------------------------------------------------------------------
build_10k 100 1 22.9746 ms
230.079 us 229.189 us 231.202 us
5.087 us 4.22 us 6.518 us
build_100k 100 1 230.542 ms
2.3197 ms 2.30959 ms 2.33425 ms
61.165 us 46.835 us 86.405 us
build_1m 100 1 2.53492 s
25.484 ms 25.3933 ms 25.6696 ms
637.931 us 360.255 us 1.2402 ms
===============================================================================
test cases: 2 | 2 passed
assertions: - none -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment