(b *testing.B)
| 173 | } |
| 174 | |
| 175 | func BenchmarkMapStringInterfaceJSON(b *testing.B) { |
| 176 | src := map[string]interface{}{ |
| 177 | "hello": "world", |
| 178 | "foo": "bar", |
| 179 | "one": 1111111, |
| 180 | "two": 2222222, |
| 181 | } |
| 182 | var dst map[string]interface{} |
| 183 | benchmarkJSONEncodeDecode(b, src, &dst) |
| 184 | } |
| 185 | |
| 186 | func BenchmarkMapIntInt(b *testing.B) { |
| 187 | src := map[int]int{ |
nothing calls this directly
no test coverage detected
searching dependent graphs…