benchmark-action / benchmark-action/github-action-benchmark

Golang benchmark regex issues

Open
#326 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.3k
Forks
184
PR merge metrics
No merged PRs in 30d

Description

The current regex for golang benchmark does not detect sub benchmarks (/ in name) and also does not works well when ns/op and MB/s are there at the same time.

~~~
goos: linux
goarch: amd64
pkg: github.com/uponusolutions/go-smtp/internal/textsmtp
cpu: AMD Ryzen AI 9 HX 370 w/ Radeon 890M
BenchmarkDotReader/Legacy-8 31 43410346 ns/op 96.62 MB/s
BenchmarkDotReader/Optimized-8 28 43191982 ns/op 97.11 MB/s
BenchmarkDotWriter/Legacy-8 1 2360375760 ns/op 113.73 MB/s
BenchmarkDotWriter/Optimized-8 10 105365395 ns/op 2547.66 MB/s
~~~

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.