How to opt V8 using build or runtime flags for maximum computation ?

19 views
Skip to first unread message

Piyush Katariya

unread,
Sep 26, 2019, 5:22:22 AM9/26/19
to v8-users
Assuming that I am willing to sacrifice on VM launch start  time and i can throw more memory, 

How can I opt V8 engine using build and/or runtime flags for maximum computation speed?




Jakob Kummerow

unread,
Sep 26, 2019, 5:41:23 AM9/26/19
to v8-users
We generally recommend the default configuration. The default settings are carefully calibrated for maximum performance in a wide variety of usage scenarios.

If you're observing a specific issue, you can ask specifically (and with details!) about that; there may or may not be a way to address it by changing some parameters.

(You may be thinking along the lines of "I just want to optimize all functions with -O3 immediately!" -- well, that makes sense for C++ and similar languages, but with JavaScript's dynamic nature, optimization requires type feedback gathered during unoptimized execution. If you handed source code without any type feedback to the optimizing compiler, it would be unable to do its job properly, so overall the performance you'd get would be much worse.)


On Thu, Sep 26, 2019 at 11:22 AM Piyush Katariya <corporat...@gmail.com> wrote:
Assuming that I am willing to sacrifice on VM launch start  time and i can throw more memory, 

How can I opt V8 engine using build and/or runtime flags for maximum computation speed?




--
--
v8-users mailing list
v8-u...@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+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/58ca00b1-558c-4037-920d-4f9b287eed61%40googlegroups.com.

Piyush Katariya

unread,
Sep 26, 2019, 5:59:51 AM9/26/19
to v8-users
Thanks Jakob.
Reply all
Reply to author
Forward
0 new messages