Advertisement
AntonyZhilin

std::mutex based

Sep 9th, 2022
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.51 KB | None | 0 0
  1. /home/antonyzhilin/userver/cmake-build-release/userver/core/userver-core_benchmark --benchmark_filter=mutex_coro --benchmark_min_time=5 --benchmark_report_aggregates_only=true
  2. 2022-08-22T12:15:07+03:00
  3. Running /home/antonyzhilin/userver/cmake-build-release/userver/core/userver-core_benchmark
  4. Run on (12 X 4600 MHz CPU s)
  5. CPU Caches:
  6. L1 Data 32 KiB (x6)
  7. L1 Instruction 32 KiB (x6)
  8. L2 Unified 256 KiB (x6)
  9. L3 Unified 12288 KiB (x1)
  10. Load Average: 10.93, 12.61, 9.80
  11. ***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead.
  12. --------------------------------------------------------------------------------
  13. Benchmark Time CPU Iterations
  14. --------------------------------------------------------------------------------
  15. mutex_coro_lock 14.6 ns 14.5 ns 489572218
  16. mutex_coro_unlock 12.5 ns 12.5 ns 530443648
  17. mutex_coro_contention/1 29.4 ns 29.4 ns 221620610 locks=33.999M/s locks-per-thread=33.999M/s
  18. mutex_coro_contention/2 249 ns 248 ns 28264599 locks=8.84945M/s locks-per-thread=4.42473M/s
  19. mutex_coro_contention/4 1020 ns 897 ns 8097181 locks=4.81382M/s locks-per-thread=1.20346M/s
  20. mutex_coro_contention/8 6084 ns 5192 ns 1395365 locks=1.59671M/s locks-per-thread=199.589k/s
  21. mutex_coro_contention/16 20605 ns 10769 ns 635135 locks=1.54232M/s locks-per-thread=96.3952k/s
  22. mutex_coro_contention/32 65728 ns 15746 ns 434280 locks=2.16865M/s locks-per-thread=67.7702k/s
  23. mutex_coro_contention_with_payload/1 57.9 ns 57.9 ns 116863134 locks=17.2645M/s locks-per-thread=17.2645M/s
  24. mutex_coro_contention_with_payload/2 405 ns 404 ns 15100787 locks=4.84657M/s locks-per-thread=2.42329M/s
  25. mutex_coro_contention_with_payload/4 1741 ns 1537 ns 4523175 locks=2.59469M/s locks-per-thread=648.674k/s
  26. mutex_coro_contention_with_payload/8 8844 ns 7517 ns 926125 locks=1071.86k/s locks-per-thread=133.983k/s
  27. mutex_coro_contention_with_payload/16 30395 ns 14917 ns 476542 locks=1090.13k/s locks-per-thread=68.1331k/s
  28. mutex_coro_contention_with_payload/32 86866 ns 19787 ns 352492 locks=1.64549M/s locks-per-thread=51.4216k/s
  29.  
  30. Process finished with exit code 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement