仕組みを理解したい。
“JIT through the ages - Evolution of just-in-time compilation from theoretical performance improvements to smartphone runtime and browser optimizations”, Neeraja Ramanan
an overview of TraceMonkey ✩ Mozilla Hacks – the Web developer blog FireFoxのTraceMonkeyについての概要解説
- 実行時にループ単位で型情報を使ってコンパイル(Tracing JIT)
- ホットな部分だけをコンパイルする
-
トレーシングJITは、プログラムの実行時間の大半はプログラムの一部のループ(ホットループ)の実行に費やされており、かつそのループが再び実行される場合はたいてい前回と同様の実行パスを経る、という仮定に基づいている