Hi! I wrote a simple script to measure the impact of Debugger on
SpiderMonkey's performance. This measures how long the Esprima
JavaScript parser takes to parse itself. Here are preliminary results,
running the benchmark scripts at
https://github.com/jimblandy/benchmark-debugger.
The variance here is way too high; I can get the stddev down to around
3%, but I wanted to post what I have.
--ion, debugger, onEnterFrame
warmup
measure
[Stats total: 206.26856884765598s, mean: 0.412537137695312s, stddev: 11%]
--no-ion, debugger, onEnterFrame
warmup
measure
[Stats total: 209.06723315429664s, mean: 0.4181344663085933s, stddev: 12%]
--ion, debugger, no hooks
warmup
measure
[Stats total: 76.72733569335945s, mean: 0.1534546713867189s, stddev: 10%]
--no-ion, debugger, no hooks
warmup
measure
[Stats total: 76.6684204101562s, mean: 0.1533368408203124s, stddev: 17%]
--ion
warmup
measure
[Stats total: 14.706278320312501s, mean: 0.029412556640625004s, stddev: 11%]
--no-ion
warmup
measure
[Stats total: 41.867698242187494s, mean: 0.08373539648437499s, stddev: 17%]
_______________________________________________
dev-tech-js-engine-internals mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals