Commit fd6801b
committed
fix: change benchmark tool from 'benchmarkjs' to 'customBiggerIsBetter'
The github-action-benchmark with tool: 'benchmarkjs' expects a different
format than what we're providing. The 'benchmarkjs' tool expects output
from the actual Benchmark.js library with specific fields.
Since we're providing custom JSON with 'name', 'unit', and 'value' fields,
we should use 'customBiggerIsBetter' tool instead (higher ops/sec is better).
This fixes the error:
'No benchmark result was found in bench-results.json'
The customBiggerIsBetter tool accepts our format:
[
{
"name": "...",
"unit": "ops/sec",
"value": 1234567
}
]1 parent 4fc908f commit fd6801b
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
0 commit comments