Massive: The asm.js Benchmark
hacks.mozilla.org
Massive: The asm.js Benchmark
1–10 of 74 posts
Re: Massive: The asm.js Benchmark
#2Re: Massive: The asm.js Benchmark
#3would love to know how is the performance in V8 chrome js engine??
Re: Massive: The asm.js Benchmark
#4 * Performance on the native architecture
* Performance on other browsers (Chrome/IE in particular)Re: Massive: The asm.js Benchmark
#5would love to know how is the performance in V8 chrome js engine??
Run it with your Chrome and post the results: http://kripken.github.io/Massive/
Got 2,984 running Chrome 38 and 8,778 on Firefox 33, but I think now it's just fair to wait for couple of iterations of Chrome to identify bottlenecks and fix them.
It's not uncommon for benchmarks to focus on some particular strength/weakness that is easily fixable. The same happened with Firefox and Octane 2.0.
Re: Massive: The asm.js Benchmark
#6would love to know how is the performance in V8 chrome js engine??
My results, Chrome Version 38.0.2125.111 (64-bit) on Ubuntu 14.04
Re: Massive: The asm.js Benchmark
#7Earlier quoted context omitted.
Run it with your Chrome and post the results: http://kripken.github.io/Massive/
I have Intel i7 running on Linux. Got 2,984 running Chrome 38 and 8,778 on Firefox 33, but I think now it's just fair to wait for couple of iterations of Chrome to identify bottlenecks and fix them. It's not uncommon for benchmarks to focus on some particular strength/weakness that is easily fixable. The same happened with Firefox and Octane 2.0.
EDIT: Although I suppose JIT compilers would love asm.js as it has all the type info they want, but there's probably tons of overhead there thus explaining how Chrome has worse results.
Re: Massive: The asm.js Benchmark
#8It's unacceptable that a "browser-os" that should have no problem being architecture agnostic, still gives Intel an edge with ChromeOS, because not all NaCl apps work on ARM Chromebooks. Seriously, how crazy is that?
I can understand ARM not having a serious chance on Windows laptops because of all the legacy x86 programs, but at worst it should be equal with x86 running an OS such as Chrome OS.
Re: Massive: The asm.js Benchmark
#9I prefer asm.js over NaCl, especially when NaCl has been available for years, and Google still supports the ARM architecture poorly, and as a second class citizen in NaCl. It's unacceptable that a "browser-os" that should have no problem being architecture agnostic, still gives Intel an edge with ChromeOS, because not all NaCl apps work on ARM Chromebooks. Seriously, how crazy is that? I can understand ARM not having…
* It is just JavaScript, so any browser can execute asm.js code, but it can be AOT compiled by some browsers for extra performance - This means every browser supports asm.js, and supports it today
* It doesn't require a new runtime or API, merely using the existing web APIs
* It is simple for other browser vendors to implement, and isn't reliant on a single implementation
* It can interface with existing JavaScript code, so it can use JS libraries and, similarly, JS code can use asm.js libraries
* It is a completely open standard
* It is architecture-independent (so's PNaCl, though)
Re: Massive: The asm.js Benchmark
#10I prefer asm.js over NaCl, especially when NaCl has been available for years, and Google still supports the ARM architecture poorly, and as a second class citizen in NaCl. It's unacceptable that a "browser-os" that should have no problem being architecture agnostic, still gives Intel an edge with ChromeOS, because not all NaCl apps work on ARM Chromebooks. Seriously, how crazy is that? I can understand ARM not having…
I agree. asm.js has several strengths over NaCl and even PNaCl: * It is just JavaScript, so any browser can execute asm.js code, but it can be AOT compiled by some browsers for extra performance - This means every browser supports asm.js, and supports it today * It doesn't require a new runtime or API, merely using the existing web APIs * It is simple for other browser vendors to implement, and isn't reliant on a sin…
Or JIT-compiled with phases specifically built for the kind of JS it produces e.g. Webkit's FTL tends to work very well on asm.js code, though it's not an asm.js AOT compiler.
> It doesn't require a new runtime or API, merely using the existing web APIs
That's not entirely true, AFAIK asm.js adds at least two functions to the Math namespace (imul and fround)