check

command
v0.8.7 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: MIT Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command bench-check audits coverage of per-RPC benchmarks against the taprpc proto surface. It parses every .proto file under taprpc/, lists the RPC methods, and reports which methods do not have a corresponding Benchmark* function under bench/rpc/.

Each Benchmark function declares which RPC it covers via a directive comment in its doc:

// bench:rpc=<package>.<Service>.<Method>

e.g. // bench:rpc=universerpc.Universe.Info. Function names are never matched against RPCs directly because names are not service-qualified — a Benchmark named "BenchmarkInfo" would silently false-cover Info methods on multiple services.

Methods may opt out of the audit by adding a line to the proto file directly above the rpc definition of the form:

// bench:skip(reason)

Whole services may be skipped by adding the fully-qualified service name to skippedServices below. tapchannelrpc is excluded for the first pass because it depends on tap-channel subsystems for which no in-process fixture exists.

Jump to

Keyboard shortcuts

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