Skip to content

Commit 050fc3a

Browse files
Rename lastSuite2 to prevSuite for clarity in box plot section
Co-authored-by: NullVoxPopuli <[email protected]>
1 parent a83582d commit 050fc3a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

scripts/bench-compare.mjs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -380,14 +380,14 @@ if (ITERATIONS > 1) {
380380
console.log(' Legend: min ├──[ Q1 ██ median │ ██ Q3 ]──┤ max');
381381
console.log('');
382382

383-
let lastSuite2 = '';
383+
let prevSuite = '';
384384
for (const r of benchResults) {
385385
if (r.note || !r.baseHzValues.length || !r.currentHzValues.length) continue;
386386

387387
const [suite] = r.key.split(' > ');
388-
if (suite !== lastSuite2) {
389-
if (lastSuite2) console.log('');
390-
lastSuite2 = suite;
388+
if (suite !== prevSuite) {
389+
if (prevSuite) console.log('');
390+
prevSuite = suite;
391391
}
392392

393393
const allVals = [...r.baseHzValues, ...r.currentHzValues];

0 commit comments

Comments
 (0)