Lines Matching defs:const
12 const common = require('../common');
16 const assert = require('assert');
17 const { spawnSync } = require('child_process');
18 const fixtures = require('../common/fixtures');
19 const tmpdir = require('../common/tmpdir');
28 const frequency = 99;
30 const repeat = 5;
33 const sampleCount = 10;
34 const sleepTime = sampleCount * (1.0 / frequency);
36 const perfFlags = [
42 const nodeCommonFlags = [
48 const perfInterpretedFramesArgs = [
59 const perfCompiledFramesArgs = [
70 const perfArgsList = [
74 const perfScriptArgs = [
78 const options = {
85 for (const perfArgs of perfArgsList) {
86 const perf = spawnSync('perf', perfArgs, options);
91 const perfScript = spawnSync('perf', perfScriptArgs, options);
99 const interpretedFunctionOneRe = /~functionOne/;
100 const compiledFunctionOneRe = /\*functionOne/;
101 const interpretedFunctionTwoRe = /~functionTwo/;
102 const compiledFunctionTwoRe = /\*functionTwo/;