• sunspider javascript测试集



    http://www.webkit.org/perf/sunspider/sunspider.html
    SunSpider JavaScript Benchmark

    This is SunSpider, a JavaScript benchmark. This benchmark tests the core JavaScript language only, not the DOM or other browser APIs. It is designed to compare different versions of the same browser, and different browsers to each other. Unlike many widely available JavaScript benchmarks, this test is:

    Real World
    This test mostly avoids microbenchmarks, and tries to focus on the kinds of actual problems developers solve with JavaScript today, and the problems they may want to tackle in the future as the language gets faster. This includes tests to generate a tagcloud from JSON input, a 3D raytracer, cryptography tests, code decompression, and many more examples. There are a few microbenchmarkish things, but they mostly represent real performance problems that developers have encountered.
    Balanced
    This test is balanced between different areas of the language and different types of code. It's not all math, all string processing, or all timing simple loops. In addition to having tests in many categories, the individual tests were balanced to take similar amounts of time on currently shipping versions of popular browsers.
    Statistically Sound
    One of the challenges of benchmarking is knowing how much noise you have in your measurements. This benchmark runs each test multiple times and determines an error range (technically, a 95% confidence interval). In addition, in comparison mode it tells you if you have enough data to determine if the difference is statistically significant.

    Current Version
    Start SunSpider 0.9.1 now!
    (When you run the benchmark, be patient - it loops through all of the test cases five times and can take a minute or longer to complete.)

    Previous Versions

  • SunSpider 0.9
  • http://www.guao.hk/tag/sunspider

    Google 说 Apple 和 Mozilla 搞的浏览器跑分都不靠谱,还是用我搞的吧

    2011年5月5日
     7   

     

    Chrome对比其它浏览器最大的优势就是速度。但在谷奥两周年聚会上负责Chrome的Googler胡坤讲了一个段子,说让他老婆使用多个浏览器,最后问哪个快,他老婆憋了半天说“一样快”……这让Chrome情何以堪?

    孰快孰慢绝对是有个比较的,当然不能让人来判断,而应该有科学的测量依据。但是当前有各种各样的测试标准,到底谁测量的结果最准确呢?

    首先说Apple在2007年开发的SunSpider测试,Google说这个测试已经不适合于2011年使用了,因为很多测试项目在2011年的网页里都不用了。即便是那些依然相关的测试项目,它们的测量单位还停留在毫秒级,精度太差了,因为你没法在10英尺的距离里分辨出到底是QQ快还是F1赛车快。于是Google对SunSpider做了改进,将测试精度提高了50倍,这样就可以反应出Chrome的真实水平了──它比别人快30%。

    然后又说Mozilla开发的Kraken测试,Google称其做的还算不错,但是bug太多,甚至导致结果出错。于是Google又在Mozilla公布的源代码基础上对Kraken做了改进──结果又是Chrome成绩大幅领先了。

    不论如何,大家只要都盯着速度来改进产品,对消费者来说就是一个好事。

  • 相关阅读:
    docker
    SAML(Security assertion markUp language) 安全断言标记语言
    kafka消息系统
    OBS 对象存储技术学习
    AOP之AspectJ
    sql查漏补缺
    todolist
    springboot 注解整理
    前端之jQuery
    前端之BOM和DOM
  • 原文地址:https://www.cnblogs.com/lexus/p/2209721.html
  • Copyright © 2020-2023  润新知