(b *testing.B)
| 154 | var Values url.Values |
| 155 | |
| 156 | func BenchmarkNewQueryMulti(b *testing.B) { |
| 157 | b.ReportAllocs() |
| 158 | for i := 0; i < b.N; i++ { |
| 159 | Foo = Get("foo=bar&baz=123&num=5&float=1.0&bool", "foo") |
| 160 | Baz = Get("foo=bar&baz=123&num=5&float=1.0&bool", "baz") |
| 161 | Num = Get("foo=bar&baz=123&num=5&float=1.0&bool", "num") |
| 162 | Float = Get("foo=bar&baz=123&num=5&float=1.0&bool", "float") |
| 163 | Boolean = Get("foo=bar&baz=123&num=5&float=1.0&bool", "bool") |
| 164 | } |
| 165 | } |
| 166 | |
| 167 | func BenchmarkStdQueryMulti(b *testing.B) { |
| 168 | b.ReportAllocs() |
nothing calls this directly
no test coverage detected
searching dependent graphs…