MCPcopy Create free account
hub / github.com/github/gh-aw / BenchmarkSanitizeParameterName

Function BenchmarkSanitizeParameterName

pkg/stringutil/sanitize_test.go:558–563  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

556}
557
558func BenchmarkSanitizeParameterName(b *testing.B) {
559 name := "my-complex-parameter.name"
560 for b.Loop() {
561 SanitizeParameterName(name)
562 }
563}
564
565func BenchmarkSanitizePythonVariableName(b *testing.B) {
566 name := "my-complex-parameter.name"

Callers

nothing calls this directly

Calls 1

SanitizeParameterNameFunction · 0.85

Tested by

no test coverage detected