Title
# | Name | Iterations | Time (ns/op) | Throughput (MB/s) | Memory (B/op) | Allocations (allocs/op) |
---|
# | Name | Iterations | Time (ns/op) | Throughput (MB/s) | Memory (B/op) | Allocations (allocs/op) |
---|
This tool works very intuitively. Just paste your benchmark result above and use the Regular Expression input to format and group your data. The Regular Expression can capture two groups: NAME
and GROUP
.
These identifiers can appear anywhere in the Benchmark name, the default format is usually Benchmark(?<GROUP>[^_/]+)(?<NAME>.*)$
, that matches titles like BenchmarkDecode/text=digits/level=speed/size=1e5-8
.
If you have difficulty writing regular expressions, use the https://regex101.com tool.
To make it easier to understand, copy and paste some of the examples below into the form above.
Example 1: