Mozilla just announced the launch of Kraken, a new JavaScript benchmark. The Mozilla team notes that developers spend a lot of time optimizing their code to improve the browser’s performance on certain benchmarks, but these improvement often don’t actually create a better user experience. According to Mozilla engineer Rob Sayre, Kraken instead focuses on recreating “realistic workloads and forward-looking applications.”
Mozilla’s Rob Sayre:
“We believe that the benchmarks used in Kraken are better in terms of reflecting realistic workloads for pushing the edge of browser performance forward. These are the things that people are saying are too slow to do with open Web technologies today, and we want to have benchmarks that reflect progress against making these near-future apps universally available.”
The new benchmark indicates that Firefox 4 (with the new JaegerMonkey JavaScript engine) is more than 2.5x faster than the current stable version of Firefox 3.6. Sadly, the site is currently suffering from a major traffic spike after its launch, but we will update this post later with our own findings.
In his announcement, Sayre notes that synthetic benchmarks tend to be the least useful, while testing real or modified applications will give developers the most realistic view of how fast their browsers really are.
It remains to be seen if Kraken will be able to take the position that Sunspider, Google’s V8, and Mozilla’s own Dromaeo currently hold. As with all vendor-sponsored benchmarks, there will surely be some concern among Mozilla’s competitors that the benchmark is geared towards favoring the organization’s own products. Kraken’s code will be released under an open-source license, however, so it will likely be easy for the team to counter these arguments.