Any tips to speed up compilation time?

30 views
Skip to first unread message

Al Mo

unread,
Jun 4, 2020, 2:32:42 PM6/4/20
to v8-dev
Title is self-explanatory,

Every time I change a bit of code I recompile and goes through everything again ... it takes about 20 mins. to complete,

Any ideas on how to speed this up (if possible)?

Alex.

Zhi An Ng

unread,
Jun 4, 2020, 2:40:49 PM6/4/20
to v8-...@googlegroups.com
On Thu, Jun 4, 2020 at 11:32 AM Al Mo <almo...@gmail.com> wrote:
Title is self-explanatory,

Every time I change a bit of code I recompile and goes through everything again ... it takes about 20 mins. to complete,

If mksnapshot is taking a long time, you can set v8_enable_fast_mksnapshot in gn args. If you set up your initial build using gm.py, it would helpfully set some values to make debug builds faster (https://source.chromium.org/chromium/chromium/src/+/master:v8/tools/dev/gm.py;l=125;drc=fb3da4ec8db4975f988b2fdf53cc97290c8f46c9)

If you are a committer you can also sign up for to have early access to Goma (https://chromium.googlesource.com/infra/goma/client/+/HEAD/doc/early-access-guide.md


Any ideas on how to speed this up (if possible)?

Alex.

--
--
v8-dev mailing list
v8-...@googlegroups.com
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to v8-dev+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/v8-dev/ed96d89b-f052-4641-82e7-8aa4447258aco%40googlegroups.com.


--
Best,
Zhi An

Al Mo

unread,
Jun 4, 2020, 5:33:28 PM6/4/20
to v8-...@googlegroups.com
Thanks Zhi,

Will definitely check out goma,

In the meantime, I have found this to be useful and I'm leaving it here for future reference: https://developers.google.com/web/updates/2019/10/chromium-chronicle-7

Alex.

Reply all
Reply to author
Forward
0 new messages