Debian Codegraph @

internal/benchtest/benchtest.go

raw
1 // Package benchtest is used for benchmarking strcase against the Go stdlib's
2 // strings package.
3 //
4 // With few exceptions the benchmarks here were taken directly from Go's
5 // strings and bytes package.
6 //
7 // It is not part of the strcase package since some of the benchmarks here are
8 // not entirely relevant to strcase (none require case conversions).
9 // Instead they are a useful measure of the overhead of strcase compared to
10 // the stdlib's strings package.
11 package benchtest