在您编写可重用库的代码时,评估性能牵连就显得尤其重要。
Performance implications are particularly important to evaluate when you are writing code for a reusable library.
你应该毫不犹豫地将那些执行时间超过100毫秒的脚本找出来,哪怕这些脚本只是在某些浏览器上运行不畅,这些脚本包含了一些需要执行很长时间的代码段,而这些代码应该通过性能检测工具进行重新评估。
You should be looking for any single script execution that takes 100ms or longer on any given browser; those methods involved with such a long execution should be evaluated for performance issues.
网站上目前存在评论beta代码的趋势,包括性能评估。人们其实不应该再去在意beta代码的性能了。
On the other hand, he is bothered by the trend on Web sites to review beta code, including evaluating performance, when no one should look at the performance of beta code.
应用推荐