You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
requesting a bencher CLI command with which one can dump bmf.json
currently doing this:
FROM ghcr.io/bencherdev/bencher-console:v0.5.10 AS bencher
FROM alpine AS downloads
ADD https://github.com/bencherdev/bencher/releases/download/v0.5.10/bencher-v0.5.10-linux-x86-64 /bencher
COPY --from=bencher /usr/src/bencher/dist/client/bmf.json /bmf.json
COPY sha512sum.txt sha512sum.txt
RUN sha512sum -c sha512sum.txt
FROM mcr.microsoft.com/devcontainers/base:ubuntu
COPY --from=downloads --chown=vscode:vscode /bencher /home/vscode/.local/bin/bencher
COPY --from=downloads --chown=vscode:vscode /bmf.json /app/bencher/bmf.json
RUN chmod +x /home/vscode/.local/bin/bencher
would rather just be able to bencher [some sensible command here] > ./bmf.json
reasoning being is that https://bencher.dev/bmf.json isn't versioned, so if the format changes in future one cannot do version-specific tooling.
I'm open to a PR adding a bencher schema subcommand that just outputs the current BMF schema.
Or a PR adding a https://bencher.dev/v0/bmf.json route on the server.
May have a look in the morning after I've put a bencher-friendly formatter in my benchmark.js fork (have one prototyped, but one should really be sleeping instead of continuing to tinker approaching 2am 😅)
Getting the bencher integration to deploy & behave took longer than expected, taking a dev break once my github action finishes & will look at this tomorrow.
Keeping this open. Now that there is a BMF version 1 schema (https://bencher.dev/v1/bmf.json, from v0.6.19), bencher schema should also take a --bmf-version option to print the schema for a given version.
Activity
epompeii commentedon Jan 27, 2026
Hey @SignpostMarv good catch!
I'm open to a PR adding a
bencher schemasubcommand that just outputs the current BMF schema.Or a PR adding a
https://bencher.dev/v0/bmf.jsonroute on the server.Or both honestly sound like good ideas to me.
SignpostMarv commentedon Jan 27, 2026
May have a look in the morning after I've put a bencher-friendly formatter in my benchmark.js fork (have one prototyped, but one should really be sleeping instead of continuing to tinker approaching 2am 😅)Getting the bencher integration to deploy & behave took longer than expected, taking a dev break once my github action finishes & will look at this tomorrow.
SignpostMarv commentedon Jan 28, 2026
Have took a look at the code, rust makes me 👀
Probably not the best option for me to be first diving into coding in rust, will have to opt out of contributing on this one 😅
epompeii commentedon Jan 30, 2026
@SignpostMarv I have added a versioned BMF schema here: https://bencher.dev/v0/bmf.json
SignpostMarv commentedon Jan 30, 2026
that also works, although would leave this ticket open pending myself or someone else getting around to having the time to add
bencher schema[-]low-priority feature request re: bmf.json[/-][+]Add `bencher schema` subcommand[/+]epompeii commentedon Nov 30, 2026
Keeping this open. Now that there is a BMF version 1 schema (
https://bencher.dev/v1/bmf.json, from v0.6.19),bencher schemashould also take a--bmf-versionoption to print the schema for a given version.