Skip to content

Releases: fluxopt/pytest-benchmem

v0.5.2

Choose a tag to compare

@github-actions github-actions released this 11 Aug 07:37
da0743d

0.5.2 (2026-08-11)

Bug Fixes

  • compare: rss absolute thresholds take byte units, not time units (#194) (3502698)

v0.5.1

Choose a tag to compare

@github-actions github-actions released this 11 Aug 06:59
45580b2

0.5.1 (2026-08-11)

Features

  • compare: absolute floor under a percent --fail-on rule (peak:20%+8MiB) (#193) (24e31dd), closes #192

Bug Fixes

  • escape literal % in argparse help so pytest --help doesn't crash (#195) (6ed9ab7)

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 31 Jul 21:13
21ff5dc

0.5.0 (2026-07-31)

Important

rss on Linux was measuring the wrong process before this release.

getrusage's ru_maxrss survives execve, so each isolated pass inherited the parent
pytest process's high-water instead of recording its own. Every Linux rss reading was that
inherited constant — it did not vary with the benchmark at all. It now reads VmHWM from
/proc/self/status, which the kernel resets for the child. macOS was never affected.

If you have saved Linux baselines containing rss, re-record them. Comparing against a
pre-0.5.0 Linux baseline will report a large, meaningless delta, and --fail-on rss:... gates
against one are not trustworthy. peak, allocated and allocations are unaffected on every
platform.

Two smaller behaviour changes in the same release: isolated passes no longer warm up, so
isolated peak is now a cold first-call number (a max_peak ceiling near its limit may newly
fail), and setup now runs before the measured pass in isolated mode.

Features

  • memray: add calls=N to measure buildup across invocations (#181) (7906838)

Bug Fixes

  • memray: don't let warmup inflate isolated rss (#180) (ff4f780)
  • memray: read the child's own resident high-water on Linux (#184) (b34039b)
  • memray: run setup before the measured pass in isolated mode (#179) (a300909)

Miscellaneous Chores

v0.4.12

Choose a tag to compare

@github-actions github-actions released this 24 Jul 10:31
58fbd66

0.4.12 (2026-07-24)

Features

  • extra_info label columns in compare (--columns extra:NAME) (#177) (40a25f5)

v0.4.11

Choose a tag to compare

@github-actions github-actions released this 23 Jul 20:37
5f55732

0.4.11 (2026-07-23)

Bug Fixes

  • cli: ship a working benchmem entry point with the base install (#174) (5f1404d), closes #168
  • sweep: make the documented one-line sweep work from a clean checkout (#173) (63b98b1)

v0.4.10

Choose a tag to compare

@github-actions github-actions released this 21 Jul 06:11
f81ed4d

0.4.10 (2026-07-20)

Bug Fixes

  • add lower bounds to dev/plot deps so floor-deps CI resolves (#160) (4543078)

v0.4.9

Choose a tag to compare

@github-actions github-actions released this 20 Jul 09:34
46bf651

0.4.9 (2026-07-20)

Features

  • benchmem compare --format md — GitHub-flavored markdown table to drop into a PR comment or $GITHUB_STEP_SUMMARY (#147) (dfd6645)
  • benchmem compare --diff — collapsed base→head baseline view with a signed Δ% per run against the baseline (#156) (dfd6645)

v0.4.8

Choose a tag to compare

@github-actions github-actions released this 01 Jul 08:21
3da9bb1

0.4.8 (2026-07-01)

Bug Fixes

  • scaling overlays multiple runs + CLI axis/series controls (#150) (#151) (ab0140e)

v0.4.7

Choose a tag to compare

@github-actions github-actions released this 29 Jun 15:19
66ad872

0.4.7 (2026-06-29)

Features

  • plot: clearer titles, axis labels, unit notes, and colorbars (#148) (9a7b66e)

v0.4.6

Choose a tag to compare

@github-actions github-actions released this 29 Jun 14:19
d45506c

0.4.6 (2026-06-29)

Features

  • plot -o exports a static image when the suffix is png/svg/pdf/... (#145) (#146) (ab2ab2c)

Bug Fixes

  • keep the baseline frame in the animated scatter (drop only when static) (#142) (e600841)