5 ms·
Hi, I wrote that presentation. The reason that I usually compare Firefox and Chrome and not others is basically because Firefox and Chrome are easy to test. It'
by azakai 13y ago
Hi, I wrote that presentation. The reason that I usually compare Firefox and Chrome and not others is basically because Firefox and Chrome are easy to test. It's very simple to get the shell versions of the two browsers' JS engines, build them, and run them, and benchmarking in the shell is much simpler than otherwise. In contrast:
* Internet Explorer is Windows-only. I run Linux. There are some free VMs now, but you can't benchmark in a VM, it would be unfair. Also, even on Windows, I am not sure if Chakra has a shell version (does it?)
* Safari is OS X only (and again, I run Linux). JSC, its JS engine, has a shell version. This would be great, but the only way to build it on Linux is apparently to build the Qt-WebKit port of WebKit (whereas apparently on OS X it is very simple). I've tried a few times to follow guides on how to do that, and it always fails somewhere in their dependencies. Not sure if the guides are wrong or if something in my distro's Qt deps is not a proper match. A few projects do embed JSC, and are easy to build on Linux, but the snapshots are dated - to benchmark I really want the very latest code, or else it would be unfair to JSC. (Btw, if there is a simpler way to build JSC on Linux, I would really like to know!)
I do sometimes benchmark those two, but it means finding a machine I can borrow for that purpose, which takes time, so it is rare.
(And I don't benchmark Opera because they are moving to V8, which I already benchmark anyhow.)
- asveikau 13y ago> Also, even on Windows, I am not sure if Chakra has a shell version (does it?) I am not big on javascript but this question sparked my interest to google it. Apparently, and this is if I parse this correctly, if you apply the .reg file from this StackOverflow answer you can run chakra from cscript.exe which runs js from the command line: http://stackoverflow.com/questions/7167690/what-is-the-progid-or-clsid-for-ie9s-javascript-engine-code-named-chakra/7168837#7168837 http://stackoverflow.com/questions/7167690/what-is-the-progi... - however without this registry hack you'll get some other engine.