zoukankan      html  css  js  c++  java
  • [转]任何程序员应该记住的性能指标

    任何程序员应该记住的性能指标 
    Numbers Everyone Should Know 
    L1 cache reference                         0.5 ns 
    Branch mispredict                            5 ns 
    L2 cache reference                           7 ns 
    Mutex lock/unlock                           25 ns 
    Main memory reference                      100 ns            0.1 us 
    Compress 1K bytes with Zippy             3,000 ns            3   us     0.003 ms 
    Send 2K bytes over 1 Gbps network       20,000 ns           20   us     0.02  ms 
    Read 1 MB sequentially from memory     250,000 ns          250   us     0.25  ms 
    Round trip within same datacenter      500,000 ns          500   us     0.5   ms 
    Disk seek                           10,000,000 ns       10,000   us    10     ms 
    Read 1 MB sequentially from disk    20,000,000 ns       20,000   us    20     ms 
    Send packet CA->Netherlands->CA    150,000,000 ns      150,000   us   150     ms 

  • 相关阅读:
    CSS3学习-用CSS制作立体导航栏
    JS学习-事件响应小结-简单的计算器
    BOM学习-javascript计时器小结
    php 正则表达式
    zTree插件的应用
    css样式篇
    iso移动端input的bug解决(vue)
    html2canvas文字重叠(手机端)
    react中使用antd遇到的问题
    react开发初始配置和一些问题
  • 原文地址:https://www.cnblogs.com/sidesky/p/7652772.html
Copyright © 2011-2022 走看看