Skip to content

Instantly share code, notes, and snippets.

@Ben1980
Created March 9, 2019 21:54
Show Gist options
  • Select an option

  • Save Ben1980/924e20be198a856420a94d59dc2a7d0f to your computer and use it in GitHub Desktop.

Select an option

Save Ben1980/924e20be198a856420a94d59dc2a7d0f to your computer and use it in GitHub Desktop.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
solverTest is a Catch v2.6.1 host application.
Run with -? for options
-------------------------------------------------------------------------------
Benchmarking euler
-------------------------------------------------------------------------------
/mnt/c/Develop/gravity/solverTest/src/solverTest.cpp:62
...............................................................................
benchmark name iters elapsed ns average
-------------------------------------------------------------------------------
Benchmarking with 100 particles 1 161800 161.8 µs
Benchmarking with 200 particles 1 272100 272.1 µs
Benchmarking with 400 particles 1 550200 550.2 µs
Benchmarking with 800 particles 1 1735600 1.7356 ms
Benchmarking with 1.6K particles 1 6083100 6.0831 ms
Benchmarking with 3.2K particles 1 24002800 24.0028 ms
Benchmarking with 6.4K particles 1 95479000 95.479 ms
Benchmarking with 12.8K particles 1 389455300 389.455 ms
Benchmarking with 25.6K particles 1 1593459600 1.59346 s
===============================================================================
All tests passed (25 assertions in 4 test cases)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment