Advertisement
rx312

bench compare C++ - Go

Dec 16th, 2021
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. C++ GCC 10.2 -O3
  2. -------------------------------------------------------
  3. Benchmark Time CPU Iterations
  4. -------------------------------------------------------
  5. Solve/10 83.5 ns 83.5 ns 9340607
  6. Solve/100 1661 ns 1661 ns 426100
  7. Solve/1000 24354 ns 24353 ns 27876
  8. Solve/10000 304619 ns 304619 ns 2031
  9. Solve/100000 3614361 ns 3614327 ns 192
  10.  
  11. Go go1.17.3
  12. BenchmarkFence/10-8 9468015 116.4 ns/op
  13. BenchmarkFence/100-8 690297 1901 ns/op
  14. BenchmarkFence/1000-8 38958 30726 ns/op
  15. BenchmarkFence/10000-8 2893 388989 ns/op
  16. BenchmarkFence/100000-8 276 4883462 ns/op
  17.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement