mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2024-11-23 12:40:19 +01:00
15 lines
227 B
Go
15 lines
227 B
Go
package server
|
|
|
|
import "testing"
|
|
|
|
func BenchmarkTokenConcat(b *testing.B) {
|
|
for i := 0; i < b.N; i++ {
|
|
_ = Token(5) + Token(5)
|
|
}
|
|
}
|
|
|
|
func BenchmarkTokenLonger(b *testing.B) {
|
|
for i := 0; i < b.N; i++ {
|
|
_ = Token(10)
|
|
}
|
|
}
|