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