> The only v8 shell I have lying around is too old (3.14.5.10) to have Set, so I can't tell you what it would do.
On my first attempt, I noticed 8 Major GCs: https://cloud.githubusercontent.com/assets/297678/15036715/f41ea4d4-1247-11e6-8823-f153c3c1b7bb.png On second attempt, no Major GCs: https://cloud.githubusercontent.com/assets/297678/15036788/c066483a-1248-11e6-970b-3f9d20710bbc.png I wonder why. I'm in Chrome 50. So, the second attempt looks good. I'm not sure why the first is so different. I tried it a few times, but I only got that Major GC zig-zag the first time. Thanks for pointing out Set! On Wed, May 4, 2016 at 7:30 PM, Boris Zbarsky <bzbar...@mit.edu> wrote: > On 5/4/16 5:03 PM, Steve Fink wrote: > >> The only v8 shell I have lying around is too old (3.14.5.10) to have >> Set, so I can't tell you what it would do. >> > > I have v8 "4.8.0 (candidate)" (meaning whatever rev I checked out), and it > does 1163 minor ("Scavenge") GCs on your testcase. It also does 1163 minor > GCs if I take out the add() calls. It does none if I remove the clear() > calls, no matter whether the add() calls are there or not. > > -Boris > _______________________________________________ > es-discuss mailing list > es-discuss@mozilla.org > https://mail.mozilla.org/listinfo/es-discuss >
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss