We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cc826f commit 3dbec2bCopy full SHA for 3dbec2b
test/benchmarks/driverBench/index.js
@@ -106,7 +106,12 @@ benchmarkRunner
106
})
107
.then(data => {
108
const results = JSON.stringify(data, undefined, 2);
109
- console.log(inspect(data, { depth: Infinity, colors: true }));
+ const print_results = data.map(({ info: { test_name, args }, metrics: [{ value }] }) => ({
110
+ test_name,
111
+ args,
112
+ value
113
+ }));
114
+ console.log(inspect(print_results, { depth: Infinity, colors: true }));
115
return writeFile('results.json', results);
116
117
.catch(err => console.error(err));
0 commit comments