Skip to content

Instantly share code, notes, and snippets.

@aclamk
Last active September 7, 2018 11:43
Show Gist options
  • Save aclamk/aeb0faf22c271fddabc81c5efe9fa1e5 to your computer and use it in GitHub Desktop.
Save aclamk/aeb0faf22c271fddabc81c5efe9fa1e5 to your computer and use it in GitHub Desktop.
log-entry-stack
** REFERENCE **
Note: Google Test filter = Log.Multithread*
[==========] Running 5 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 5 tests from Log
[ RUN ] Log.Multithread
[ OK ] Log.Multithread (1176 ms)
[ RUN ] Log.Multithread_4_4K_10000
[ OK ] Log.Multithread_4_4K_10000 (978 ms)
[ RUN ] Log.Multithread_4_1K_10000
[ OK ] Log.Multithread_4_1K_10000 (648 ms)
[ RUN ] Log.Multithread_4_4K_1000
[ OK ] Log.Multithread_4_4K_1000 (790 ms)
[ RUN ] Log.Multithread_4_1K_1000
[ OK ] Log.Multithread_4_1K_1000 (495 ms)
[----------] 5 tests from Log (4087 ms total)
[----------] Global test environment tear-down
[==========] 5 tests from 1 test case ran. (4087 ms total)
[ PASSED ] 5 tests.
Performance counter stats for 'bin/unittest_log --gtest_filter=Log.Multithread*':
13737.053508 task-clock (msec) # 3.347 CPUs utilized
756,656 context-switches # 0.055 M/sec
2,460 cpu-migrations # 0.179 K/sec
67,571 page-faults # 0.005 M/sec
35,341,494,774 cycles # 2.573 GHz
17,942,151,948 instructions # 0.51 insn per cycle
3,392,490,846 branches # 246.959 M/sec
79,771,416 branch-misses # 2.35% of all branches
4.103770745 seconds time elapsed
** ENTRY 1024 **
Note: Google Test filter = Log.Multithread*
[==========] Running 5 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 5 tests from Log
[ RUN ] Log.Multithread
[ OK ] Log.Multithread (1091 ms)
[ RUN ] Log.Multithread_4_4K_10000
[ OK ] Log.Multithread_4_4K_10000 (949 ms)
[ RUN ] Log.Multithread_4_1K_10000
[ OK ] Log.Multithread_4_1K_10000 (648 ms)
[ RUN ] Log.Multithread_4_4K_1000
[ OK ] Log.Multithread_4_4K_1000 (768 ms)
[ RUN ] Log.Multithread_4_1K_1000
[ OK ] Log.Multithread_4_1K_1000 (479 ms)
[----------] 5 tests from Log (3935 ms total)
[----------] Global test environment tear-down
[==========] 5 tests from 1 test case ran. (3935 ms total)
[ PASSED ] 5 tests.
Performance counter stats for 'bin/unittest_log --gtest_filter=Log.Multithread*':
13165.159834 task-clock (msec) # 3.333 CPUs utilized
760,187 context-switches # 0.058 M/sec
2,059 cpu-migrations # 0.156 K/sec
100,804 page-faults # 0.008 M/sec
33,755,730,348 cycles # 2.564 GHz
16,888,451,888 instructions # 0.50 insn per cycle
3,114,154,690 branches # 236.545 M/sec
67,306,455 branch-misses # 2.16% of all branches
3.949545804 seconds time elapsed
** ENTRY 512 **
Note: Google Test filter = Log.Multithread*
[==========] Running 5 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 5 tests from Log
[ RUN ] Log.Multithread
[ OK ] Log.Multithread (1105 ms)
[ RUN ] Log.Multithread_4_4K_10000
[ OK ] Log.Multithread_4_4K_10000 (916 ms)
[ RUN ] Log.Multithread_4_1K_10000
[ OK ] Log.Multithread_4_1K_10000 (647 ms)
[ RUN ] Log.Multithread_4_4K_1000
[ OK ] Log.Multithread_4_4K_1000 (766 ms)
[ RUN ] Log.Multithread_4_1K_1000
[ OK ] Log.Multithread_4_1K_1000 (480 ms)
[----------] 5 tests from Log (3914 ms total)
[----------] Global test environment tear-down
[==========] 5 tests from 1 test case ran. (3914 ms total)
[ PASSED ] 5 tests.
Performance counter stats for 'bin/unittest_log --gtest_filter=Log.Multithread*':
13160.157210 task-clock (msec) # 3.348 CPUs utilized
757,323 context-switches # 0.058 M/sec
2,202 cpu-migrations # 0.167 K/sec
99,202 page-faults # 0.008 M/sec
33,727,537,657 cycles # 2.563 GHz
16,903,759,645 instructions # 0.50 insn per cycle
3,124,229,483 branches # 237.401 M/sec
65,038,286 branch-misses # 2.08% of all branches
3.930570161 seconds time elapsed
** ENTRY 256 **
Note: Google Test filter = Log.Multithread*
[==========] Running 5 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 5 tests from Log
[ RUN ] Log.Multithread
[ OK ] Log.Multithread (1132 ms)
[ RUN ] Log.Multithread_4_4K_10000
[ OK ] Log.Multithread_4_4K_10000 (943 ms)
[ RUN ] Log.Multithread_4_1K_10000
[ OK ] Log.Multithread_4_1K_10000 (661 ms)
[ RUN ] Log.Multithread_4_4K_1000
[ OK ] Log.Multithread_4_4K_1000 (788 ms)
[ RUN ] Log.Multithread_4_1K_1000
[ OK ] Log.Multithread_4_1K_1000 (485 ms)
[----------] 5 tests from Log (4009 ms total)
[----------] Global test environment tear-down
[==========] 5 tests from 1 test case ran. (4009 ms total)
[ PASSED ] 5 tests.
Performance counter stats for 'bin/unittest_log --gtest_filter=Log.Multithread*':
13124.628196 task-clock (msec) # 3.257 CPUs utilized
805,304 context-switches # 0.061 M/sec
2,281 cpu-migrations # 0.174 K/sec
84,611 page-faults # 0.006 M/sec
33,492,600,842 cycles # 2.552 GHz
17,070,644,615 instructions # 0.51 insn per cycle
3,152,970,316 branches # 240.233 M/sec
67,293,679 branch-misses # 2.13% of all branches
4.029892368 seconds time elapsed
** ENTRY 2048 **
Note: Google Test filter = Log.Multithread*
[==========] Running 5 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 5 tests from Log
[ RUN ] Log.Multithread
[ OK ] Log.Multithread (1085 ms)
[ RUN ] Log.Multithread_4_4K_10000
[ OK ] Log.Multithread_4_4K_10000 (924 ms)
[ RUN ] Log.Multithread_4_1K_10000
[ OK ] Log.Multithread_4_1K_10000 (632 ms)
[ RUN ] Log.Multithread_4_4K_1000
[ OK ] Log.Multithread_4_4K_1000 (748 ms)
[ RUN ] Log.Multithread_4_1K_1000
[ OK ] Log.Multithread_4_1K_1000 (478 ms)
[----------] 5 tests from Log (3867 ms total)
[----------] Global test environment tear-down
[==========] 5 tests from 1 test case ran. (3867 ms total)
[ PASSED ] 5 tests.
Performance counter stats for 'bin/unittest_log --gtest_filter=Log.Multithread*':
13224.069243 task-clock (msec) # 3.400 CPUs utilized
692,343 context-switches # 0.052 M/sec
2,042 cpu-migrations # 0.154 K/sec
104,438 page-faults # 0.008 M/sec
33,789,140,047 cycles # 2.555 GHz
16,550,423,619 instructions # 0.49 insn per cycle
3,058,293,584 branches # 231.267 M/sec
64,136,615 branch-misses # 2.10% of all branches
3.889554296 seconds time elapsed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment