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 cc528ae commit 5470751Copy full SHA for 5470751
src/extract.ts
@@ -250,7 +250,7 @@ function extractCargoResult(output: string): BenchmarkResult[] {
250
const ret = [];
251
// Example:
252
// test bench_fib_20 ... bench: 37,174 ns/iter (+/- 7,527)
253
- const reExtract = /^test ([\w/]+)\s+\.\.\. bench:\s+([0-9,]+) ns\/iter \(\+\/- ([0-9,]+)\)$/;
+ const reExtract = /^test ([\w/]+)\s+\.\.\. bench:\s+([0-9,]+) ns\/iter \(\+\/- ([0-9,]+)\)(?: = \d+ MB\/s)?$/;
254
const reComma = /,/g;
255
256
for (const line of lines) {
0 commit comments