A new section 2.9 between Testing and Performance: time-it, a benchmark file for the deck, how a benchmark is measured, setup and parameters, the menu, --detail and --scaling, --compare-within, saving and comparing, --against with --processes, the flags, and --serve. Every output is from a real run. It shows the weakness of comparing two processes too: unchanged benchmarks called faster or SLOWER by a few percent, and how --processes 6 settles it. The standard library chapter gets std/bench, std/stopwatch says time-it is (std bench)'s, and modules/std/bench/ has the reference pages for (std bench), (std bench stats) and (std bench store). 🤖 Generated with [ECA](https://eca.dev) (anthropic/claude-opus-4-7) Co-Authored-By: eca-agent <git@eca.dev>
10 lines
345 B
Text
10 lines
345 B
Text
(meta (title "(std bench)")
|
|
(sort title))
|
|
|
|
@strong{Submodules:}
|
|
@itemlist{
|
|
@item{@link["stats.html"]{@code{(std bench stats)}}: medians, bootstrap intervals, and the tests a comparison is decided by.}
|
|
@item{@link["store.html"]{@code{(std bench store)}}: saved runs as data, and comparing them.}
|
|
}
|
|
|
|
@generate-docs[#:module "std bench"]
|