Closed miparnisari closed 11 months ago
There are benchmarks written
But they aren't being run anywhere with go test -bench 😱
go test -bench
Suggestion:
bench
Make
main
I have a demo repo that has the above: https://github.com/miparnisari/benchtest that you can use as reference. I'm happy to send a PR, if you like the idea.
There are benchmarks written
But they aren't being run anywhere with
go test -bench
😱Suggestion:
bench
Make
targetmain
, run benchmarks and save themmain
, and alert if they get 2x worse.I have a demo repo that has the above: https://github.com/miparnisari/benchtest that you can use as reference. I'm happy to send a PR, if you like the idea.