⬆️ ⬇️

TraceMonkey - super-productive javascript

firefox

Hooray! A new, fantastically fast, improved JavaScript engine (SpiderMonkey) in Mozilla has been published.

The code name of this creation is TraceMonkey.

This engine uses the method of adding its own code in real time to accelerate the compilation in SpiderMonkey a new method of translating bytecode to native code on the fly.



TraceMonkey test results

assorted-benchmarks.sm

The difference in speeds is very noticeable.



Used tests:



If you really want to test TraceMonkey yourself, set nightly of Firefox 3.1 , open the about: config settings page, and switch the following parameter to true: javascript.options.jit.content



TraceMonkey is still a rather crude, but promising project that will enable the creation of more complex web applications that will work on most computers.

')

Just can not but rejoice the fact that his code works on x86, x86-64, and ARM - which allows him to work not only on desktop computers, but also in many mobile devices.



I apologize that the review was too small and poorly understood, just technical English is still difficult for me.


Read more about TraceMonkey (English)

Subscribe to Chernev's notes (RSS)

Source: https://habr.com/ru/post/37901/



All Articles