Slashdot Mirror


Background Javascript Compilation Boosts Chrome Performance

kc123 writes "The latest version of Chrome includes improvements in JavaScript compilation, according to the Chromium blog. Historically, Chrome compiled JavaScript on the main thread, where it could interfere with the performance of the JavaScript application. For large pieces of code this could become a nuisance, and in complex applications like games it could even lead to stuttering and dropped frames. In the latest Chrome Beta they've enabled concurrent compilation, which offloads a large part of the optimizing compilation phase to a background thread. The result is that JavaScript applications remain responsive and performance gets a boost."

2 of 136 comments (clear)

  1. Re:This is worth a Slashdot article? by viperidaenz · · Score: 4, Insightful

    It might make things slower, but it still might make things *appear* faster but reducing pauses in the Javascript thread. You might not notice 10 10ms pauses but you'll probably notice a 100ms pause.

  2. Re:This is worth a Slashdot article? by viperidaenz · · Score: 4, Insightful

    What's Java got to do with anything in this article? Except Java and Javascript share common letters in their name.