microbench

command
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2026 License: MIT Imports: 8 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 microbench parses `go test -bench` output (read from stdin) and merges the rows into OUT/microbench.json, replacing the -stack *namespace* as a whole so a re-run can't leave a stale scenario — or, for the ablation, a stale layer. `make benchmark-micro` pipes each framework-tax stack's output through it (namespace = the leaf stack, e.g. `gin`); `make benchmark-micro-ablation` pipes the whole ablation ladder through it with namespace `gombit-ablation`, which owns every `gombit-ablation/<row>` stack — so a layer removed from the runtime stack is dropped from the JSON on the next run rather than orphaned.

go test ./benchmarks/micro/gin -bench=BenchmarkFrameworkTax -benchmem -run='^$' \
  | go run ./benchmarks/scripts/microbench -stack gin -out benchmarks/results/latest/microbench.json

Jump to

Keyboard shortcuts

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