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

Function BenchmarkEscapeIndex4KB

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

Source from the content-addressed store, hash-verified

6)
7
8func BenchmarkEscapeIndex4KB(b *testing.B) {
9 benchmarkEscapeIndex(b, strings.Repeat("!foobar!", 512), false)
10}
11
12func BenchmarkEscapeIndex4KBEscapeHTML(b *testing.B) {
13 benchmarkEscapeIndex(b, strings.Repeat("!foobar!", 512), true)

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…