Skip to content

Commit 1919236

Browse files
committed
fix: zero callgrind stats at the beginning of each bench
1 parent 70ae316 commit 1919236

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core/src/measurement.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Napi::Boolean IsInstrumented(const Napi::CallbackInfo &info) {
88
}
99

1010
void StartInstrumentation(const Napi::CallbackInfo &info) {
11+
CALLGRIND_ZERO_STATS;
1112
CALLGRIND_START_INSTRUMENTATION;
1213
return;
1314
}

0 commit comments

Comments
 (0)