Comments on: ES6 Features in New V8 Upgrade | ArangoDB Blog https://arangodb.com/2015/07/es6-features-turbofan-strong-mode-and-rest-parameters-come-with-new-v8-upgrade/ The database for graph and beyond Tue, 06 Aug 2024 05:50:57 +0000 hourly 1 https://wordpress.org/?v=6.7.1 By: CoDEmanX https://arangodb.com/2015/07/es6-features-turbofan-strong-mode-and-rest-parameters-come-with-new-v8-upgrade/#comment-470 Fri, 07 Aug 2015 13:46:00 +0000 http://www.arangodb.com/?p=8258#comment-470 Spread (call and array) landed in V8 recently: https://www.chromestatus.com/features/6031334694715392 I hope this will make it into ArangoDB 2.7 too!

]]>
By: CoDEmanX https://arangodb.com/2015/07/es6-features-turbofan-strong-mode-and-rest-parameters-come-with-new-v8-upgrade/#comment-469 Tue, 21 Jul 2015 10:02:00 +0000 http://www.arangodb.com/?p=8258#comment-469 In reply to Charles Pick.

A lot of performance-increasing features/restrictions implemented in Crankshaft are not yet implemented in TurboFan. I wouldn’t expect faster code before a first completed implementation. I’m really curios how much the speed gain will ultimately be. And SoundScript (typed JS) looks promising as well!

]]>
By: jsteemann https://arangodb.com/2015/07/es6-features-turbofan-strong-mode-and-rest-parameters-come-with-new-v8-upgrade/#comment-468 Mon, 20 Jul 2015 07:07:00 +0000 http://www.arangodb.com/?p=8258#comment-468 In reply to Charles Pick.

I experienced in a few quick tests that using TurboFan was literally starting the laptop fan and executing my test code took longer. AFAIK it’s still rather experimental, but luckily it only gets activated by explicit user control. (I think Chrome already turns it on for *some* code by default, but only when relatively sure that the compiled code will run fast).
Seems it has some way to go, but it looks very promising. Same for strong mode: looks very promising, too, as it allows compilers to ignore certain JS features that would render some optimizations impossible.

]]>
By: Charles Pick https://arangodb.com/2015/07/es6-features-turbofan-strong-mode-and-rest-parameters-come-with-new-v8-upgrade/#comment-467 Sun, 19 Jul 2015 09:10:00 +0000 http://www.arangodb.com/?p=8258#comment-467 Cool that you’re exposing the new V8 features already but they’re definitely not ready for general consumption yet, for most code turbofan is about 2x – 5x slower than crankshaft, strong mode is currently 30x slower than strict mode 🙂

]]>