We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 618bbbf commit ff3b7d2Copy full SHA for ff3b7d2
src/env.cc
@@ -458,8 +458,11 @@ void Environment::InitializeMainContext(Local<Context> context,
458
environment_start_time_);
459
performance_state_->Mark(performance::NODE_PERFORMANCE_MILESTONE_NODE_START,
460
per_process::node_start_time);
461
- performance_state_->Mark(performance::NODE_PERFORMANCE_MILESTONE_V8_START,
462
- performance::performance_v8_start);
+
+ if (per_process::v8_initialized) {
463
+ performance_state_->Mark(performance::NODE_PERFORMANCE_MILESTONE_V8_START,
464
+ performance::performance_v8_start);
465
+ }
466
}
467
468
Environment::~Environment() {
0 commit comments