6.2.0 (June 21, 2026)#
Added#
Several new
MultiCaseTimerfeatures:Accept
run(setup: (data) -> data)callable (not timed; liketimeit).Accept
run(stratify), including"auto"(minimize in-group cost ratios).
New
performancehelper features:Add
relative_to(): compare candidates against a baseline candidate (per-pair speedup table + geometric mean).Add
plot_run(relative_to=<baseline>): plot per-candidate speedup against a baseline.
Changed#
performance.plot_run()now accepts an explicithueargument, and bothxandhuemay reference a test-data dimensionname(not just'candidate'/'data'). Enables e.g.plot_run(..., x='rows', hue='candidate', col='source').MultiCaseTimer.run(progress=True)falls back to periodicloggingwhen output is not a TTY (instead oftqdmcarriage-return spam), makingtqdmoptional-er in non-interactive runs.
Fixed#
The
MultiCaseTimernow respectsskip_ifduring the autonumber phase.