每个程序员都应该知道延迟数 Latency Numbers Every Programmer Should Know https://people.eecs.berkeley.edu/~rcs/research/interactive_latency.html
Mutex lock/unlock25ns Main memory reference100ns 20x L2 cache, 200x L1 cache Compress 1K bytes with Zippy3,000ns3us Send 1K bytes over1Gbps network10,000ns10us Read 4K randomly from SSD*150,000ns150us ~1GB/sec SSD Read1MB sequentially from memory250,000ns250us Round trip within same d...
L2 cache reference 7 ns 14x L1 cache Mutex lock/unlock 25 ns Main memory reference 100 ns 20x L2 cache, 200x L1 cache Compress 1K bytes with Zippy 10,000 ns 10 us Send 1 KB bytes over 1 Gbps network 10,000 ns 10 us Read 4 KB randomly from SSD* 150,000 ns 150 us ~1GB/sec ...
Latency Numbers Every Programmer Should Know https://people.eecs.berkeley.edu/~rcs/research/interactive_latency.html
每个编程者都应该知道的延迟:(~2012年的性能) 代码语言:javascript 复制 Latency ComparisonNumbers(~2012)---L1cache reference0.5ns Branch mispredict5nsL2cache reference7ns 14xL1cache Mutex lock/unlock25ns Main memory reference100ns 20xL2cache,200xL1cache...
释盎科温 https://gist.github.com/hellerbarde/2843375gist.github.com/hellerbarde/2843375 发布于 2020-11-20 15:10 GitHub GitHub Pages HTTPS 写下你的评论... 打开知乎App 在「我的页」右上角打开扫一扫 其他扫码方式:微信 下载知乎App 开通机构号 ...
【大家都该了解的延时(Latency Numbers)】《Latency numbers every programmer should know Raw》by P Stark http://t.cn/8khqAEj
For even more math fun, check out The Python math Module: Everything You Need to Know!Check Your UnderstandingExpand the block below to check your understanding:Exercise: Rounding a Number to Two DigitsShow/Hide You can expand the block below to see a solution:...
Not every number has a finite binary decimal representation.You can learn more about how Python treats floating point numbers in Numbers in Python.For a more in-depth treatise on floating-point arithmetic, check out David Goldberg’s article What Every Computer Scientist Should Know About Floating...
10 Algorithms Books Every Programmer Should Read (books) 10 Free Data Structure and Algorithm Courses for Programmers (courses) 100+ Data Structure Coding Problems from Interviews (questions) Thanks for reading this article so far. If you like this article then please share it with your friends ...