rename benchmark

This commit is contained in:
Andrea Spacca 2021-07-08 07:54:43 +02:00
parent 69d979ca48
commit 94f94f27ff

View file

@ -2,13 +2,13 @@ package server
import "testing"
func BenchmarkEncodeConcat(b *testing.B) {
func BenchmarkTokenConcat(b *testing.B) {
for i := 0; i < b.N; i++ {
_ = Token(5) + Token(5)
}
}
func BenchmarkEncodeLonger(b *testing.B) {
func BenchmarkTokenLonger(b *testing.B) {
for i := 0; i < b.N; i++ {
_ = Token(10)
}