Beispiel #1
0
func BenchmarkPathQueryNew(b *testing.B) {
	for i := 0; i < b.N; i++ {
		urlparse.New(path)
	}
}
Beispiel #2
0
func BenchmarkQueryNew(b *testing.B) {
	for i := 0; i < b.N; i++ {
		urlparse.New(query)
	}
}