Skip to content

Commit 8f00f35

Browse files
committed
Fix ESLint warnings in verify-optimizations.js
Replace template literals with single quotes for static strings to comply with ESLint quote rules.
1 parent f247d3a commit 8f00f35

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/verify-optimizations.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const mappedDuration = Date.now() - mappedStart;
6666
const mappedThroughput = Math.round(100000 / (mappedDuration / 1000));
6767

6868
console.log(` Test IPs: ${mappedIPs.length} different formats`);
69-
console.log(` Iterations: 100,000`);
69+
console.log(' Iterations: 100,000');
7070
console.log(` Duration: ${mappedDuration}ms`);
7171
console.log(` Throughput: ${mappedThroughput.toLocaleString()} ops/sec`);
7272

@@ -94,7 +94,7 @@ for (let i = 0; i < 1000000; i++) {
9494
const ntoaDuration = Date.now() - ntoaStart;
9595
const ntoaThroughput = Math.round(1000000 / (ntoaDuration / 1000));
9696

97-
console.log(` Iterations: 1,000,000`);
97+
console.log(' Iterations: 1,000,000');
9898
console.log(` Duration: ${ntoaDuration}ms`);
9999
console.log(` Throughput: ${ntoaThroughput.toLocaleString()} ops/sec`);
100100
console.log(` Per call: ${(ntoaDuration / 1000000 * 1000).toFixed(4)}ms`);
@@ -183,7 +183,7 @@ for (let i = 0; i < 100000; i++) {
183183
const privateDuration = Date.now() - privateStart;
184184
const privateThroughput = Math.round(100000 / (privateDuration / 1000));
185185

186-
console.log(` Iterations: 100,000`);
186+
console.log(' Iterations: 100,000');
187187
console.log(` Duration: ${privateDuration}ms`);
188188
console.log(` Throughput: ${privateThroughput.toLocaleString()} ops/sec`);
189189

0 commit comments

Comments
 (0)