Last active
August 6, 2021 11:39
-
-
Save percybolmer/759ecb9b216b7b4b6423cfecf45c6046 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// BenchmarkSimplestNTimes runs a benchmark N amount of times. | |
func BenchmarkSimplestNTimes(b *testing.B) { | |
for i := 0; i < b.N; i++ { | |
// Run function to benchmark here | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment