[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
javascript JIT project : speedups
From: |
Przemek Klosowski |
Subject: |
javascript JIT project : speedups |
Date: |
Mon, 25 Aug 2008 12:36:09 -0400 (EDT) |
I saw this article about a project to speed up the Javascript interpreter in
Mozilla.
http://weblogs.mozillazine.org/roadmap/archives/2008/08/tracemonkey_javascript_lightsp.html
They had a couple of interesting ideas:
- loop tracking, to detect code that is executed as a loop body.
This is worthy because:
- the types are unlikely to change across the loop iterations
- it's where the time is spent, so optimizing gives highest payoff
- instrumenting the interpreter as the first step: performance-guided
optimization
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- javascript JIT project : speedups,
Przemek Klosowski <=