Skip to content

Commit d6c93b4

Browse files
committed
feat(grid): add compact result output for configuration and performance
1 parent fd30be9 commit d6c93b4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

bench/grid-search.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ async function main() {
150150
console.error('Failed to write results:', err?.message ?? err);
151151
}
152152
process.stderr.write(` -> ${res.success ? `${res.textsPerSec} t/s` : 'failed'}\n`);
153+
// Also print a compact Result line with the configuration and the measured time
154+
process.stderr.write(`Result: ${JSON.stringify(conf)} -> ${res.success ? `${res.textsPerSec} t/s` : 'failed'}\n`);
153155
}
154156
}
155157
}

0 commit comments

Comments
 (0)