Debugging with Source Code Instrumentation - Benchmark
Benchmark The following benchmark is taken from the V8 benchmark suite and is a JavaScript port the OS kernel simulation benchmark written by Martin Richards in BCPL http://www.cl.cam.ac.uk/~mr10/Bench.html
Load Benchmark Source
Load Benchmark

Parse Code

Parse, Rewrite and Load Code

Parse and Interpret Code

Loading the benchmark code takes longer when it needs to get instrumented.
After loading the benchmark code initially, running the benchmark takes different time depending on the execution mode.
Run natively

Run instrumented

Run with interpreter