Running v8 with different compiler combinations

61 views
Skip to first unread message

Dmitrii Tsykunov

unread,
Nov 10, 2021, 9:51:52 AM11/10/21
to v8-dev
Hello,

I'm trying to run v8 benchmarks with different compiler combinations (ignition, sparkplug, turboprop, turbofan).
As far as I can tell I can do that by providing different command line flags:

--no-opt / --opt
--no-sparkplug / --sparkplug / --always-sparkplug
--no-turboprop / --turboprop / --turboprop-as-toptier

2 * 3 * 3 = 12 different options

Are all of these valid? Will I get them all this way?

Thank you

Dmitrii Tsykunov

unread,
Nov 11, 2021, 2:03:19 AM11/11/21
to v8-dev
I meant 2 * 3 * 3 = 18 

lol

среда, 10 ноября 2021 г. в 17:51:52 UTC+3, Dmitrii Tsykunov:

Jakob Gruber

unread,
Nov 11, 2021, 2:10:24 AM11/11/21
to v8-...@googlegroups.com
Yes I think that way you'll catch them all. --turboprop-as-toptier disables Turbofan. I'm also not sure all combinations are properly supported by V8, but I guess you'll find out!

--
--
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/432ea85d-40b8-4dc9-a9ea-1ccd43882299n%40googlegroups.com.

Dmitrii Tsykunov

unread,
Nov 11, 2021, 2:15:15 AM11/11/21
to v8-dev
Thanks!

Can suggest a way I can verify the combinations apart from looking at benchmarks?

четверг, 11 ноября 2021 г. в 10:10:24 UTC+3, jgr...@chromium.org:

Jakob Gruber

unread,
Nov 11, 2021, 2:32:48 AM11/11/21
to v8-...@googlegroups.com
On Thu, Nov 11, 2021 at 8:15 AM Dmitrii Tsykunov <dtsyk...@yandex-team.ru> wrote:
Thanks!

Can suggest a way I can verify the combinations apart from looking at benchmarks?

Your best bet is tracing tier-ups to see if it all happens as expected. See --trace-opt, --trace-opt-verbose, --trace-baseline, perhaps others (check flag-definitions.h).
 

Jakob Kummerow

unread,
Nov 12, 2021, 6:39:36 PM11/12/21
to v8-...@googlegroups.com
Note that it's challenging to run 4 different compilers (which each can be on or off) in 18 > 2⁴ = 16 different configurations.
Further, at least one of those 16 configurations is obviously invalid, namely turning off all four. Also, anything that doesn't collect any type feedback (i.e. disables both Ignition and Sparkplug) isn't going to work very well.

But I'm sure you'll discover all that as part of your experimentation anyway :-)

Reply all
Reply to author
Forward
0 new messages