3 ms·
We already knew sunspider was outdated last year: http://weblogs.mozillazine.org/asa/archives/2010/10/some_sunspider_numbe.html http://weblogs.mozillazine.org/a
by natmaster 15y ago
We already knew sunspider was outdated last year: http://weblogs.mozillazine.org/asa/archives/2010/10/some_sunspider_numbe.html http://weblogs.mozillazine.org/asa/archives/2010/10/some_sun...
It's funny that Google should criticize a benchmark on 'not reflecting the real world' when their own V8 includes machine translated Scheme (how many websites actually do that?) test.
Making the sunspider test run more times doesn't make it any better, all it does is tune the benchmark to look better for their particular JIT settings. They spend more time compiling and optimizing the javascript, which can only be taken advantage of after many runs, rather than being smart and balancing optimization time with how much gains you get from actually running with the optimizations.
- ryanpetrich 15y agoJavaScript as a target language isn't unheard of--Google Web Toolkit compiles Java to JavaScript. You're right in that machine translating Scheme to JavaScript is very uncommon.