Re: [v8-users] Re: Have the no snapshot startup times gotten significantly longer in the last 6-12 months? 3s => 20s+
Yes, just to confirm: Starting without snapshot, especially in Debug mode, has become much slower, because more work is being done there (mostly compilation of builtins and bytecode handlers). This is working as intended. I.e. it's not considered a bug/problem, will not be improved over time, in fact it could get even slower and we wouldn't care. The officially supported/recommended thing to do is to build with snapshot. On Tue, Apr 4, 2017 at 1:24 AM, Zac Hansen wrote: > Got some info on IRC -- apparently there is now a "code stub assembler" > that does a bunch of work on startup. > > I stopped the program a few times during startup and it was confirmed, > looking at the stack traces, that that was in fact what was going on. > > Moral of this story: use snapshots. > > On Monday, April 3, 2017 at 12:48:52 AM UTC-7, Zac Hansen wrote: > >> I just updated my v8 build and noticed a dramatic slowdown in startup >> times. >> >> I'd always used no snapshots for convenience because the startup penalty >> was insignificant (maybe around 3s?) but ever since I updated it's up >> around 20s now. >> >> Is this a known behavior or am I doing something else wrong maybe? >> >> Thank you. >> >> -- > -- > v8-users mailing list > v8-users@googlegroups.com > http://groups.google.com/group/v8-users > --- > You received this message because you are subscribed to the Google Groups > "v8-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to v8-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[v8-users] Re: Have the no snapshot startup times gotten significantly longer in the last 6-12 months? 3s => 20s+
Got some info on IRC -- apparently there is now a "code stub assembler" that does a bunch of work on startup. I stopped the program a few times during startup and it was confirmed, looking at the stack traces, that that was in fact what was going on. Moral of this story: use snapshots. On Monday, April 3, 2017 at 12:48:52 AM UTC-7, Zac Hansen wrote: > > I just updated my v8 build and noticed a dramatic slowdown in startup > times. > > I'd always used no snapshots for convenience because the startup penalty > was insignificant (maybe around 3s?) but ever since I updated it's up > around 20s now. > > Is this a known behavior or am I doing something else wrong maybe? > > Thank you. > > -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[v8-users] Re: Have the no snapshot startup times gotten significantly longer in the last 6-12 months? 3s => 20s+
I just rebuilt with snapshots and verified that it is still "fast" to startup on my code. So my question is, what changed to make the much more convenient and previously acceptable startup speed of the no-snapshot builds so much slower? like.. almost 10x slower. On Monday, April 3, 2017 at 12:48:52 AM UTC-7, Zac Hansen wrote: > > I just updated my v8 build and noticed a dramatic slowdown in startup > times. > > I'd always used no snapshots for convenience because the startup penalty > was insignificant (maybe around 3s?) but ever since I updated it's up > around 20s now. > > Is this a known behavior or am I doing something else wrong maybe? > > Thank you. > > -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.