Files
fasthttp/args_timing_test.go
T
2015-11-05 13:03:47 +02:00

14 lines
187 B
Go

package fasthttp
import (
"testing"
)
func BenchmarkArgsParse(b *testing.B) {
var a Args
s := []byte("foo=bar&baz=qqq&aaaaa=bbbb")
for i := 0; i < b.N; i++ {
a.ParseBytes(s)
}
}