Commit 2308a27
src: only set v8 flags if argc > 1
ParseArgs sets the first element of v8_args to argv[0], so v8_argc will
always be at least 1. This change only calls
V8::SetFlagsFromCommandLine if v8_argc > 1, leading to an additional
startup improvement of ~5%.
PR-URL: #2646
Reviewed-By: trevnorris - Trevor Norris <[email protected]>1 parent 205aab3 commit 2308a27
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3688 | 3688 | | |
3689 | 3689 | | |
3690 | 3690 | | |
3691 | | - | |
| 3691 | + | |
3692 | 3692 | | |
3693 | 3693 | | |
3694 | 3694 | | |
| |||
0 commit comments