mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2024-12-26 20:30:18 +01:00
9fe5f9a5c9
* golint * remove gitter badge
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)
|
|
}
|
|
}
|