Index: src/parsing/parser.cc |
diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc |
index 1f3323114214a47600c75dfa6d152ab2bdddf476..239c4c89d57051248e7ef61b6e289511b5752295 100644 |
--- a/src/parsing/parser.cc |
+++ b/src/parsing/parser.cc |
@@ -866,8 +866,7 @@ |
HistogramTimerScope timer_scope(isolate->counters()->parse(), true); |
RuntimeCallTimerScope runtime_timer(isolate, &RuntimeCallStats::Parse); |
- TRACE_EVENT_RUNTIME_CALL_STATS_TRACING_SCOPED( |
- isolate, &tracing::TraceEventStatsTable::Parse); |
+ TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("v8.compile"), "V8.Parse"); |
Handle<String> source(String::cast(info->script()->source())); |
isolate->counters()->total_parse_size()->Increment(source->length()); |
base::ElapsedTimer timer; |
@@ -1039,8 +1038,7 @@ |
DCHECK(parsing_on_main_thread_); |
RuntimeCallTimerScope runtime_timer(isolate, &RuntimeCallStats::ParseLazy); |
HistogramTimerScope timer_scope(isolate->counters()->parse_lazy()); |
- TRACE_EVENT_RUNTIME_CALL_STATS_TRACING_SCOPED( |
- isolate, &tracing::TraceEventStatsTable::ParseLazy); |
+ TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("v8.compile"), "V8.ParseLazy"); |
Handle<String> source(String::cast(info->script()->source())); |
isolate->counters()->total_parse_size()->Increment(source->length()); |
base::ElapsedTimer timer; |