MCPcopy Create free account
hub / github.com/segmentio/encoding / BenchmarkEscapeIndex4KBEscapeHTML

Function BenchmarkEscapeIndex4KBEscapeHTML

json/string_test.go:12–14  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

10}
11
12func BenchmarkEscapeIndex4KBEscapeHTML(b *testing.B) {
13 benchmarkEscapeIndex(b, strings.Repeat("!foobar!", 512), true)
14}
15
16func BenchmarkEscapeIndex1(b *testing.B) {
17 benchmarkEscapeIndex(b, "1", false)

Callers

nothing calls this directly

Calls 1

benchmarkEscapeIndexFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…