Skip to content

Instantly share code, notes, and snippets.

@idiottiger
idiottiger / latency.txt
Last active August 29, 2015 14:11 — forked from jboner/latency.txt
Latency Comparison Numbers
--------------------------
L1 cache reference 0.5 ns
访问一级缓存
Branch mispredict 5 ns
分支误预测
L2 cache reference 7 ns 14x L1 cache
访问二级缓存
Mutex lock/unlock 25 ns
互斥锁 加锁/解锁