Skip to content

Instantly share code, notes, and snippets.

@turtlesoupy
Created May 31, 2020 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 turtlesoupy/6e6bfbae88c1174f20dc14195c1363de to your computer and use it in GitHub Desktop.
Save turtlesoupy/6e6bfbae88c1174f20dc14195c1363de to your computer and use it in GitHub Desktop.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
array_bench is a Catch v2.11.1 host application.
Run with -? for options
-------------------------------------------------------------------------------
Benchmark simple assignments
-------------------------------------------------------------------------------
/home/tdimson/projects/skimpy/tests/benchmarks/array_bench.cpp:17
...............................................................................
benchmark name samples iterations estimated
mean low mean high mean
std dev low std dev high std dev
-------------------------------------------------------------------------------
univariate_assign_1 100 3 2.8779 ms
9.165 us 9.109 us 9.37 us
485 ns 126 ns 1.112 us
univariate_assign_10 100 3 3.1344 ms
10.412 us 10.362 us 10.527 us
368 ns 138 ns 639 ns
univariate_assign_100 100 3 3.1827 ms
10.497 us 10.436 us 10.67 us
482 ns 201 ns 1.032 us
-------------------------------------------------------------------------------
Benchmark merge operations
-------------------------------------------------------------------------------
/home/tdimson/projects/skimpy/tests/benchmarks/array_bench.cpp:40
...............................................................................
benchmark name samples iterations estimated
mean low mean high mean
std dev low std dev high std dev
-------------------------------------------------------------------------------
multiply_2 100 1 293.168 ms
2.63442 ms 2.57867 ms 2.70819 ms
325.502 us 259.971 us 436.528 us
multiply_4 100 1 354.575 ms
3.47215 ms 3.42354 ms 3.52795 ms
264.76 us 227.747 us 313.223 us
multiply_8 100 1 496.444 ms
5.03559 ms 4.96037 ms 5.1227 ms
414.122 us 352.16 us 506.915 us
multiply_16 100 1 958.294 ms
10.015 ms 9.86777 ms 10.1775 ms
788.043 us 679.858 us 935.262 us
-------------------------------------------------------------------------------
Benchmark skimpy array builders
-------------------------------------------------------------------------------
/home/tdimson/projects/skimpy/tests/benchmarks/array_bench.cpp:107
...............................................................................
benchmark name samples iterations estimated
mean low mean high mean
std dev low std dev high std dev
-------------------------------------------------------------------------------
build_10k 100 1 18.8402 ms
186.759 us 186.182 us 188.256 us
4.429 us 2.045 us 9.158 us
build_100k 100 1 195.902 ms
1.95752 ms 1.95497 ms 1.96157 ms
16.037 us 11.404 us 26.49 us
build_1m 100 1 2.22344 s
21.6569 ms 21.5675 ms 21.8102 ms
583.36 us 392.53 us 924.242 us
-------------------------------------------------------------------------------
Benchmark evaluation options
-------------------------------------------------------------------------------
/home/tdimson/projects/skimpy/tests/benchmarks/array_bench.cpp:184
...............................................................................
benchmark name samples iterations estimated
mean low mean high mean
std dev low std dev high std dev
-------------------------------------------------------------------------------
mul(k=32); accelerated_eval=false 100 1 28.8714 s
280.955 ms 278.629 ms 284.033 ms
13.5448 ms 10.8965 ms 17.4299 ms
mul(k=32); accelerated_eval=true 100 1 16.1733 s
167.21 ms 165.933 ms 169.434 ms
8.3966 ms 5.55109 ms 12.5609 ms
===============================================================================
All tests passed (202 assertions in 4 test cases)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment