Numbers Everyone Should Know

2019-12-18  本文已影响0人  王劲凯
type numbers
L1 cache reference 0.5 ns
Branch mispredict 5 ns
L2 cache reference 7 ns
Mutex lock/unlock 25ns
Main memory reference 100ns
Compress 1K bytes with Zippy 3000 ns
Send 2K bytes over 1Gbps network 20000 ns
Read 1 MB sequentially from memory 250000 ns
Round trip within same datacenter 500000 ns
Disk seek 10000000 ns
Read 1 MB sequentially from disk 20000000 ns
Send packet CA->Netherlands->CA 150000000 ns
上一篇 下一篇

猜你喜欢

热点阅读