Help us shape the future of Go! Take the 2026 Go Developer Survey

benchmark

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package benchmark holds the SDK's benchmarks that need only its exported API and the module's internal packages (docs/perf/benchmarks.md): B5, the whole call against its floor and the naive comparator; B4's Retry-After parse; B6's warm call over loopback; the header template's clone; and an empty loop.

The benchmarks that time an unexported symbol of the root package (the body encode, request assembly, the backoff, the falsiness check, the gate's counters) or share a case table with a root allocation test stay in the root's bench_internal_test.go.

The package has no code outside its tests.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL