(b *testing.B)
| 261 | } |
| 262 | |
| 263 | func Benchmark_NormalizeSpaceFunc(b *testing.B) { |
| 264 | b.ReportAllocs() |
| 265 | const strForNormalization = "\t \rloooooooonnnnnnngggggggg \r \n tes \u00a0 t strin \n\n \r g " |
| 266 | for i := 0; i < b.N; i++ { |
| 267 | _ = normalizespaceFunc(testQuery(strForNormalization))(nil, nil) |
| 268 | } |
| 269 | } |
| 270 | |
| 271 | func Benchmark_ConcatFunc(b *testing.B) { |
| 272 | b.ReportAllocs() |
nothing calls this directly
no test coverage detected
searching dependent graphs…