Create a gist now

Instantly share code, notes, and snippets.

# InnoDB
> perf stat -e cycles,instructions,cache-references,cache-misses,bus-cycles -a sleep 10
1,086,047,113,265 cycles [71.43%]
1,195,762,088,439 instructions # 1.10 insns per cycle [71.43%]
7,244,872,699 cache-references [71.43%]
1,029,562,672 cache-misses # 14.211 % of all cache refs [71.43%]
43,401,510,561 bus-cycles [71.43%]
# MyRocks
> perf stat -e cycles,instructions,cache-references,cache-misses,bus-cycles -a sleep 10
1,056,373,856,444 cycles [71.43%]
596,779,152,062 instructions # 0.56 insns per cycle [71.43%]
3,951,908,208 cache-references [71.43%]
803,454,461 cache-misses # 20.331 % of all cache refs [71.43%]
42,245,210,684 bus-cycles [71.43%]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment