MCPcopy Index your code
hub / github.com/nodejs/node / testFastCalls

Function testFastCalls

test/parallel/test-timers-fast-calls.js:10–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8const binding = internalBinding('timers');
9
10function testFastCalls() {
11 binding.scheduleTimer(1);
12 binding.toggleTimerRef(true);
13 binding.toggleTimerRef(false);
14 binding.toggleImmediateRef(true);
15 binding.toggleImmediateRef(false);
16}
17
18eval('%PrepareFunctionForOptimization(testFastCalls)');
19testFastCalls();

Callers 1

Calls 3

scheduleTimerMethod · 0.80
toggleTimerRefMethod · 0.80
toggleImmediateRefMethod · 0.80

Tested by

no test coverage detected