Benchmark Data & Configuration

How to format my data?

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:
  • Source: https://github.com/gin-gonic/go-http-routing-benchmark
  • Regular Expression:
  • Data:
Example 2:
  • Source: https://github.com/cornelk/go-benchmark#hashing-algorithms-that-produce-a-64-bit-hash-of-an-8-byte-input
  • Regular Expression:
  • Data:
Example 3:
  • Source: https://github.com/smallnest/gosercomp
  • Regular Expression:
  • Data: