Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to align benchmark output #227

Open
nikolaydubina opened this issue Jun 11, 2024 · 0 comments
Open

how to align benchmark output #227

nikolaydubina opened this issue Jun 11, 2024 · 0 comments
Labels

Comments

@nikolaydubina
Copy link
Owner

Go aligns benchmarks names to longest seen so far. Create file with name that is lexicographically first and has noop benchmark like following.

func BenchmarkNoop(b *testing.B) { b.Run("--------------------------------", func(b *testing.B) {}) }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant