On 10/14/2013 10:18 AM, Jason Orendorff wrote:
On 10/14/13 12:03 PM, Jim Blandy wrote:
[...]there's probably no need to separate bytecode instructions that
have no visible side effects from their successors.
Filed bug 926528, " JSD2: Reduce the number of positions where a
breakpoint can be placed".
https://bugzilla.mozilla.org/show_bug.cgi?id=926528
-j
Great, thanks!
Here are different numbers. More numbers are better, I hear. This is
with an optimized, threadsafe build. I don't know what happened with
plain Ion. The summary is similar:
Disabling Ion: x2
Adding a debugger: additional x1.75
setting an onEnterFrame hook: additional x3
Folks have built function call tracers with onEnterFrame, to
re-implement functionality provided by the old JSD in JS. So it would
actually be nice to get that overhead down.
--ion, debugger, onEnterFrame
warmup
measure
[Stats total: 226.9769702148438s, mean: 0.45395394042968756s, stddev: 1%]
--no-ion, debugger, onEnterFrame
warmup
measure
[Stats total: 236.0682009277345s, mean: 0.472136401855469s, stddev: 1%]
--ion, debugger, no hooks
warmup
measure
[Stats total: 76.12434228515632s, mean: 0.15224868457031263s, stddev: 3%]
--no-ion, debugger, no hooks
warmup
measure
[Stats total: 74.31600170898443s, mean: 0.14863200341796887s, stddev: 6%]
--ion
warmup
measure
[Stats total: 20.60470678710937s, mean: 0.04120941357421874s, stddev: 96%]
--no-ion
warmup
measure
[Stats total: 42.499661376953114s, mean: 0.08499932275390623s, stddev: 4%]
_______________________________________________
dev-tech-js-engine-internals mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals