Files
Kmake/test/fixtures/linux-perf-logger.js

18 lines
277 B
JavaScript
Raw Permalink Normal View History

2026-05-26 23:36:42 -07:00
'use strict';
process.stdout.write(`${process.pid}`);
const testRegex = /test-regex/gi;
function functionOne() {
for (let i = 0; i < 100; i++) {
const match = testRegex.exec(Math.random().toString());
}
}
function functionTwo() {
functionOne();
}
functionTwo();