Skip to content

Choose a tag to compare

@github-actions github-actions released this 30 Nov 07:25
Immutable release. Only release title and notes can be modified.
  • BREAKING CHANGE Every new Project starts at BMF version 1, whether it is created in the Console, with POST /v0/organizations/{organization}/projects or bencher project create, by a bencher run for a Project that does not exist yet, or by an image push to the registry; an existing Project keeps its version, and version 0 JSON reaches a new Project with --adapter json_v0
  • BREAKING CHANGE Remove bencher perf --table; bencher perf prints JSON
  • BREAKING CHANGE GET /v0/projects/{project}/metrics/{metric} no longer returns a Threshold, Boundary, or Alert; it still resolves a Metric to its line, and a Report shows every check of its Metrics
  • BREAKING CHANGE Remove the MCP view_metric tool; the MCP view_report tool shows every check of a Report's Metrics
  • BREAKING CHANGE bencher mock and bencher noise write BMF version 1 by default, and --bmf-version 0 writes version 0 for a version 0 Project: bencher mock writes one value Metric per Measure, and a repeatable --parameters '{"size": 64}' makes one variant of every benchmark for each set, while bencher noise writes cov for each jitter Measure, mean, std_dev, and p99 for its latency Measure, and value for CPU steal and the composite score
  • BREAKING CHANGE https://bencher.dev/bmf.json is now the BMF version 1 schema; the version 0 schema stays at https://bencher.dev/v0/bmf.json, and the version 1 schema is also at https://bencher.dev/v1/bmf.json
  • Add the rust_divan, js_tinybench, js_deno, js_mitata, and ruby_benchmark_ips adapters for Divan, tinybench, Deno bench, mitata, and benchmark-ips, which read results at BMF version 1 only
  • Add the http_k6, http_wrk, http_oha, http_vegeta, http_autocannon, http_fortio, http_bombardier, http_locust, http_jmeter, http_artillery, http_gatling, http_hey, grpc_ghz, storage_fio, and network_iperf3 adapters for k6, wrk, oha, Vegeta, autocannon, Fortio, bombardier, Locust, JMeter, Artillery, Gatling, hey, ghz, fio, and iperf3, which read results at BMF version 1 only
  • Add the cpp_nanobench, python_pyperf, js_reassure, swift_benchmark, kotlin_kotlinx, php_phpbench, haskell_criterion, web_lighthouse, and shell_time adapters for nanobench, pyperf, Reassure, package-benchmark, kotlinx-benchmark, PHPBench, criterion, Lighthouse, and Unix time, which read results at BMF version 1 only
  • Every adapter now reads results at the Report's BMF version, and at version 1 it stores each statistic the harness reports as its own Metric, such as mean and median, the harness's structure as Parameters, and every Measure the harness reports; each adapter's section names the Metric to threshold first
  • Add --measure to bencher run and bencher report create to keep only the listed Measures from the results
  • At BMF version 1, --average and --fold are ignored with a Report warning, since every average is its own Metric
  • A Report now records a warning for each kind of result it skipped or ignored, such as Benchmarks, Measures, or Thresholds, and bencher run, the pull request comment, and the Console show them
  • At BMF version 1, a Threshold flag without --threshold-metric is skipped with a Report warning instead of failing the run, and the run output and the pull request comment add a hint to name its Metric with --threshold-metric
  • A user who can edit a Project can now move it to BMF version 1, with bencher project update --bmf-version 1, PATCH /v0/projects/{project}, or Move to version 1 in the Project's Settings, which Explore's version 0 hint links to; only a server admin can move a Project back
  • bencher run and bencher report create read the Project's BMF version and declare it on the Report, so bencher run's --build-time and --file-size, and both commands' Threshold flags, are built at that version; a Project that does not exist yet reads as version 1, and --threshold-metric and --threshold-parameters are refused at version 0 before the benchmarks run
  • Add --adapter json_v0 and --adapter json_v1 to bencher run and bencher report create, which read JSON at BMF version 0 or 1 on any Project
  • Add --metric and --parameters to bencher threshold create to set the Metric and the Parameters a Threshold checks
  • Add a repeatable --metric and --parameters to bencher plot create and bencher plot update to choose the Metrics a plot draws and the variants it includes; bencher plot update --metric _ draws every Metric again
  • bencher report create now sends its Threshold flags, built at the Report's BMF version
  • An authenticated bencher run --image now prints why the server refused a Job's results, such as results at the wrong BMF version (400), a plan that does not allow them (402), or the daily limit (429), instead of Unknown error
  • bencher run now counts the Report warnings it cannot read and says so, such as - 2 more warnings: upgrade the CLI to read them, and bencher run and bencher report create read such a Report instead of failing
  • BREAKING CHANGE A bencher run without --project, an --image run included, declares BMF version 1, so a version 0 Project run that way has its results read at version 1 and its Threshold flags without --threshold-metric skipped; add --project to read the Project's version
  • Fix a 409 Conflict when a Report names an existing Branch, Testbed, Benchmark, or Measure by a name that is also a valid slug; any request body or query parameter that takes a name, slug, or UUID now finds it by that name
  • Fix a 409 Conflict when a Report creates many Benchmarks whose names share a long prefix; a new slug that is taken, or a name too long for a slug, now ends in a hash of the name
  • The magic adapter and the language adapters read large benchmark output faster