Skip to content

Commit 74f415e

Browse files
committed
benchmark: run lint
1 parent 3fb5b79 commit 74f415e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

benchmark/compare.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ if (benchmarks.length === 0) {
4040
return;
4141
}
4242

43-
const cpuCoreSetting = cli.optional.set.find(s => s.startsWith('CPUCORE='));
43+
const cpuCoreSetting = cli.optional.set.find((s) => s.startsWith('CPUCORE='));
4444
let cpuCore = null;
4545
if (cpuCoreSetting) {
4646
cpuCore = cpuCoreSetting.split('=')[1];

benchmark/run.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ if (!validFormats.includes(format)) {
3434
return;
3535
}
3636

37-
const cpuCoreSetting = cli.optional.set.find(s => s.startsWith('CPUCORE='));
37+
const cpuCoreSetting = cli.optional.set.find((s) => s.startsWith('CPUCORE='));
3838
let cpuCore = null;
3939
if (cpuCoreSetting) {
4040
cpuCore = cpuCoreSetting.split('=')[1];
@@ -52,8 +52,8 @@ if (format === 'csv') {
5252
let child;
5353

5454
if (cpuCore !== null) {
55-
child = spawn('taskset', [`-c`, cpuCore, `node`, scriptPath, ...args], {
56-
stdio: ['inherit', 'pipe', 'ipc']
55+
child = spawn('taskset', ['-c', cpuCore, 'node', scriptPath, ...args], {
56+
stdio: ['inherit', 'pipe', 'ipc'],
5757
});
5858

5959
child.stdout.on('data', (data) => {

0 commit comments

Comments
 (0)