|Written by Alex Armstrong|
|Thursday, 16 July 2015|
As Ben Tizer explained in a blog post TurboFan outperforms Crankshaft and copes better with:
some types of code that were challenging for our previous compiler to optimize, such as asm.js, class literals, with scopes, computed property names and for-of loops.
In a more technical blog post Tizer explains:
"An optimization engine applies these local rules in a systematic and thorough way. Transitioning out of the graphical representation involves an innovative scheduling algorithm that makes use of the reordering freedom to move code out of loops and into less frequently executed paths. Finally, architecture-specific optimizations like complex instruction selection exploit features of each target platform for the best quality code."
Having turned it on selectively Google has already seen some positive results, including a 29 per cent increase in the zlib compression score of its Octane benchmark suite.
Tizer concludes his post saying:
To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, Facebook, Google+ or Linkedin, or sign up for our weekly newsletter.
Summer SALE Kindle 9.99 Paperback $10 off!!
or email your comment to: email@example.com
|Last Updated ( Thursday, 16 July 2015 )|