This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src: only set v8 flags if argc > 1
ParseArgs sets the first element of v8_args to argv, 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@example.com>
- Loading branch information
Showing 1 changed file with 1 addition and 1 deletion.