示例#1
0
func BenchmarkPathQueryNewSliced(b *testing.B) {
	for i := 0; i < b.N; i++ {
		urlparse.NewSliced(path)
	}
}
示例#2
0
func BenchmarkQueryNewSliced(b *testing.B) {
	for i := 0; i < b.N; i++ {
		urlparse.NewSliced(query)
	}
}