Re: [JS-internals] Major non-determinism in the shell

2014-05-15 Thread Nicholas Nethercote
On Mon, Feb 10, 2014 at 12:55 AM, Andy Wingo wi...@igalia.com wrote: For a long time I've had Cachegrind set up to run SunSpider in the shell. It's really useful being able to see instruction counts at the level of source code lines when optimizing. I just tried it today for the first time

Re: [JS-internals] Major non-determinism in the shell

2014-02-10 Thread Andy Wingo
On Mon 10 Feb 2014 00:56, Nicholas Nethercote n.netherc...@gmail.com writes: For a long time I've had Cachegrind set up to run SunSpider in the shell. It's really useful being able to see instruction counts at the level of source code lines when optimizing. I just tried it today for the

[JS-internals] Major non-determinism in the shell

2014-02-09 Thread Nicholas Nethercote
Hi, For a long time I've had Cachegrind set up to run SunSpider in the shell. It's really useful being able to see instruction counts at the level of source code lines when optimizing. I just tried it today for the first time in a while, and I'm getting hugely variable results. For example, I

Re: [JS-internals] Major non-determinism in the shell

2014-02-09 Thread Nicholas Nethercote
Marty suggested I try configuring with --enable-more-deterministic, but that didn't help. I still get huge variations. Cachegrind causes a big slow-down, e.g. 50x or more. Could that be affecting something? It hasn't caused problems in the past, though. One interest data point: my Cachegrind