Lines Matching refs:perf
4 // Linux perf. The test runs a JavaScript script, sampling the execution with
5 // Linux perf. It then uses `perf script` to generate a human-readable output,
7 // `fixtures/linux-perf.js`.
10 // perf installed. It will skip if those criteria are not met.
23 common.skip("can't test Linux perf with shared libraries yet");
43 '--perf-basic-prof',
54 fixtures.path('linux-perf.js'),
65 fixtures.path('linux-perf.js'),
86 const perf = spawnSync('perf', perfArgs, options);
87 assert.ifError(perf.error);
88 if (perf.status !== 0)
89 throw new Error(`Failed to execute 'perf': ${perf.stderr}`);
91 const perfScript = spawnSync('perf', perfScriptArgs, options);
94 throw new Error(`Failed to execute perf script: ${perfScript.stderr}`);