bench/, and
you can rerun it.
In short
On a 24-visual dashboard, on a simulated mid-range phone over good 4G, Hatchmark’s dashboard-ready time was 236 ms. The other three tools took 5 to 8 seconds, much of it spent loading about 3 MB of compressed JavaScript before their first chart. The fastest of them, Metabase, took 21 times as long.
The dashboard-ready time is first paint or all 24 visuals ready, whichever is later: the larger of the
median first paint and the median all-visuals-ready time, each a median of 7 runs on the
phone-4g
profile (412 px wide, CPU slowed 4×, 10 Mbps down, 5 Mbps up, 40 ms latency). “All 24 ready” is the
first animation frame in which every visual is laid out with the right data, checked before that frame
is painted. The dashboard-ready time is an estimate, not a measurement of every visual’s paint: first
paint may be a title rather than a chart, and the readiness check runs before paint.
The viewport is 12,000 px tall so the whole page is laid out at once; a real phone would show only the
top of it. Evidence paints first, at 212 ms, so Hatchmark’s lead is in visuals showing the right data,
not in first paint. The full tables, other profiles and the caveats follow.
The tools
Hatchmark’s and Evidence’s static files are served by the same small static server, which gzips text.
Evidence’s newer CLI has no static export, so the benchmark uses the last open-source release that
builds a static site.
All four read one generated dataset: 500,000 orders from Nov 2024 to Oct 2026 in 21 countries, three
regions and six channels, written from a fixed seed. Hatchmark and Evidence read it as CSV, and
Postgres loads the same file. Every result records the file’s SHA-256.
The dashboards
Both pages cover the 12 months from Nov 1, 2025 and have one control, a region filter. The interaction timed is “show EMEA only”.- Light page, 7 visuals: revenue, orders, average order value and refund rate as KPIs, revenue by month as one line per region, revenue by channel as bars, and the top 15 countries as a table.
- Heavy page, 24 visuals: 6 KPIs, 4 line charts by region, 4 area charts stacked by region, 8 bar
charts (by channel, by region and the top 8 countries) and 2 tables. Every chart is split by region,
channel or country, so the filter changes all 24. One list in
bench/src/heavy.tsdefines the visuals, and the same list drives every tool’s page and the expected values.
How each tool is set up
Each tool builds the dashboards the way its own documentation suggests. Apart from the deployment settings in the table above, each keeps its default chart and query cache behaviour.- Hatchmark: metrics in YAML and one dashboard file per page. The region filter is a segment toggle; these runs were measured before the select control was drawn.
- Evidence: on the heavy page one SQL query per visual, and on the light page one query for the
four KPIs and one for each other visual. Each query filters the orders table itself with
where region like '${inputs.region.value}', the pattern in Evidence’s filters guide. The region filter is aDropdownbound to that input. Evidence runs these queries in the browser with DuckDB-WASM, so it ships the orders table as Parquet and the WASM build to every reader. - Metabase: one native SQL question per visual on one dashboard, created through its API, with a
dashboard filter wired to a
{{region}}variable. - Apache Superset: a virtual dataset, one chart per visual on one dashboard, created through its
API, with a native Select filter on
region.
Device profiles
Every run uses Chromium from Playwright, headless, in a fresh browser context with a cold cache.phone uses the throughput of Lighthouse’s mobile profile. The CPU slowdown is relative to the
machine running the benchmark, so the numbers compare tools on one machine and are not a forecast for
a particular phone.
What each number means
A script injected before the page’s own code reads every visual on every animation frame and compares what it shows with values computed separately from the CSV. A visual counts only while it is laid out, visible and showing the right numbers for the current filter: KPIs by their displayed value, tables by their top rows, and charts by the positions of their lines, areas and bars.
“First chart” is checked on the frame where the chart’s marks are laid out, which can be just before
they are painted. When a tool’s charts are in its HTML, as Hatchmark’s are, first chart can come
before first paint. Animated chart updates count, because the reader waits for them too.
Each tool on each profile has 7 quiet runs after 1 warm-up, and the tables show medians. Before each
run the script checks the machine’s 1-minute load average and waits while it is above 4.5; runs under load or that
failed are kept in the results file but left out of the medians. All runs were on one Apple M5 Pro Mac
mini with Chromium 159, with Metabase, Superset and Postgres in a Docker VM with 4 CPUs and 6 GB of
memory.
Results: heavy page
Measured on Nov 29, 2026 at commit1ea5ee8, the final commit of
#101, whose bench/ directory is the one on main.
On good 4G Evidence paints first (212 ms against Hatchmark’s 236 ms), and it also paints first on the
desktop and ties on the laptop. Hatchmark’s lead is in charts with the right data, not in first paint.
Phone on good 4G (phone-4g)
Phone on slow 4G (
phone)
Laptop on broadband (
laptop)
Desktop, no throttling (
desktop)
Bytes at load, the same on every profile apart from Metabase, which sends less at phone width:
Evidence’s encoded bodies include its DuckDB-WASM build and the orders table as Parquet, which it
needs for filtering. Run the 24 queries of one view straight against each server’s API, from the
first request to the last response, and Metabase takes about 0.6 s and Superset about 0.8 s.
Results: light page
Measured on Nov 28, 2026: the slow-4G and desktop runs at commit32f08cf, the final commit of
#94, and the good-4G and laptop runs at
6c8dc8e, which adds only those two profiles. #101 later made the line-chart check stricter; these tables were taken before that
change.
Phone on good 4G (phone-4g)
Phone on slow 4G (
phone)
Laptop on broadband (
laptop)
Desktop, no throttling (
desktop)
Bytes at load: Hatchmark 11 KB of JS gzip and 90 KB of encoded bodies, Evidence 3,031 KB and
17,613 KB, Metabase 2,911 KB and 2,606 KB, Superset 2,735 KB and 2,861 KB. One view’s 7 queries take
Metabase about 0.36 s and Superset about 0.44 s on the server.
Caveats
- The heavy page is laid out in a 12,000 px tall viewport, so all 24 visuals are laid out at once and “all settled” can be measured for every tool. On a real phone most of them would be below the fold, and “first chart” here means the first chart in that tall viewport.
- Readiness is checked before paint. “First chart” and “all settled” are taken on the animation frame where the marks are laid out with the right data, before the browser paints that frame. First paint is the only paint time in the tables.
- Servers are not throttled. Metabase’s and Superset’s queries run in the Docker VM at full speed; only the browser’s CPU and network are limited.
- Evidence’s worker may be favoured. Evidence filters in a Web Worker, and whether Chromium’s CPU slowdown reaches dedicated workers is not verified, so its apply times may be optimistic.
- The filter controls differ, and so does what is timed. Hatchmark’s toggle commits with one click. In Evidence the dropdown is opened before the timer starts, and the timed click picks EMEA. In Metabase and Superset the dropdown is opened and EMEA chosen before the timer starts, and the timed click is the button that applies the filter.
- Superset does not adapt its grid to a phone. At 412 px it lays out its desktop grid and scrolls sideways.
- Each tool keeps its own formatting and chart styling, so the pages do not look identical.
- One machine. The CPU slowdown is relative to it, so compare tools within a table, not with numbers from other hardware.
Agent benchmark
How well a coding agent gets ordinary dashboard work done with Hatchmark: six fixed tasks, each run by a fresh agent that knows Hatchmark only from the installed CLI andhatchmark docs, and each graded
against the data rather than against what the agent says it did. The tasks and the graders live in
bench/src/agent/.
Results for 0.1.0
Every model passed all six tasks on the first try in each of its 18 runs. The medians per run:
Three runs per task and model, 54 runs in all, with the
hatchmark 0.1.0 package installed from npm and
a 20,000-row orders dataset. The agent is a general-purpose coding agent with shell, file and web tools, run with each model in
turn; its system prompt is its own, not Claude Code’s or Codex’s. No step in any run’s transcript
named a path into Hatchmark’s source, tests or docs, or a GitHub file page of the repository. The raw results,
with each run’s log of where the agent got lost, are in
bench/results/agent-0.1.0.json.
The tasks
Every run must also leave
hatchmark check with no errors and hatchmark build writing the
dashboard. Numbers are compared with values computed straight from the CSV by code that shares nothing
with Hatchmark: money to the cent, counts exactly, the refund rate within 10⁻⁹. The grader checks the
rows each block shows, using its sort, order and limit, not just the metric’s values. In the setup task the agent stops to ask which data
to use, as the page tells it to, and gets one scripted reply: “Our warehouse export is orders.csv in
this directory. Revenue is the amount of paid orders.”
What each number means
- First-try success: the run passed after one session, with no help beyond the prompt and, in setup, the one scripted reply.
checkruns: how many times the agent ranhatchmark check. Most tasks took one; fixing a broken project took two or three, because the misspelt column only shows once the data file is found.- CLI errors:
checkruns that reported errors plus otherhatchmarkcommands that failed. - Wall time: from the prompt to the agent’s last message. In setup it includes the wait for the scripted reply.
- Output tokens: the tokens the model wrote, reasoning included.
Where agents got lost
- Fixing a broken project started the same way for every model:
HM2003(unknown metric) andHM2010(data file not found) on the first check. The Claude models then sawHM2018(unknown column) once the path was right; GPT-6.2 Sol fixed the column before its second check. - Setup went through in most runs. In one, the agent ran commands against a source named
ordersbefore the project defined it, and its first check flagged the same (HM2001, unknown source); it fixed both before the run ended. - Verifying their own work, agents passed block positions (
--block 2) whereexplaintakes block ids, and once grouped a query by a column its metric’s source doesn’t expose (HM2052). - The docs agents read most were the topic list (
hatchmark docs), the dashboards and metrics references, and the component page of the chart they were adding.
Compared with working without Hatchmark
The same agent, models, data and machine ran every task a second time without Hatchmark, told to use any tools and libraries it liked except Hatchmark. In setup, both arms started fromorders.csv
alone. Only the five tasks that change an existing dashboard used a starting project, and without
Hatchmark it was a plain project with the same overview (two KPIs and a monthly revenue
line): a Node script that writes a static page with Chart.js 4.6.2. Both arms ran in the same
session, interleaved, with three runs per task and model, and both prompts told the agent not to open
apps or windows. Both arms were graded the same way: the built page is opened in headless Chromium
and the numbers it shows, each read next to its own label, date or column, are compared with values
computed from the CSV; a page with a script error fails, and so does a chart task whose chart draws
nothing. In both arms a run counts as correct only when its page passes.
Both arms built correct pages. Without Hatchmark the agents wrote more, about 5.4 times as many
output tokens to add the region filter (median 7,024 against 1,296). In setup, the Hatchmark arm’s
wall time includes the wait for the scripted reply, because the setup page tells the agent to ask
which data to use: a median of 100 s, or 83 s without the wait, against 135 s without Hatchmark,
where no agent asked. One run without Hatchmark (GPT-6.2 Sol, setup) read a page-design guide from
the agent’s environment, so it is left out of every number on this page, the judgments included.
How the pages compare. Each pair of pages (same model, task and run) was captured at 1440 and
390 px, labelled only A and B, and judged in both orders by Claude Opus 5.5 and GPT-6.2 Astra against
a short rubric: numbers, layout, charts, mobile, polish and overall. Of the 211 judgments with an
overall verdict, the Hatchmark page won 160 and the page without Hatchmark 51, mostly on charts (174)
and mobile (167); one judgment came back without an overall verdict and is counted as missing. The page without Hatchmark won setup (18 of 32), where it led with last week’s
revenue and a full weekly table, and the country table (24 of 36), where Hatchmark’s table cut a
column at 390 px. The same judge picked the same page in both orders for 98 of the 105 pairs with
both verdicts.
Every screenshot, run record and judgment is in
bench/results/compare-0.1.0/, so you can judge the pages
yourself.
Agent benchmark caveats
- A workflow check, not a model comparison. Every model passed every task, so these results show that the common path works and how much effort it takes. They don’t rank the models.
- One agent harness. Results with Claude Code, Codex or another agent may differ;
bench/grades their transcripts the same way. - Three runs per cell is enough to catch a broken path.
- Contamination detection sees only the transcript. It flags steps that name the repository’s source, tests or docs paths, or its GitHub file pages; a read that names none of them would pass.
- Judges see screenshots only, so interactions such as the region filter are checked by the grader, not the judges.
Run it yourself
You need Git, a Node version the repository supports (^22.18.0 || >=23.6.0), pnpm, and Docker with
at least 4 CPUs and 6 GB of memory for Metabase and Superset; the
bench README lists
the rest. From the repository root:
-heavy, and --profile takes phone, phone-4g,
laptop or desktop. A results file holds one set of conditions and refuses runs from another
commit or profile, so use a new --out file, or a clean --work directory, for each checkout and
profile. Each results file keeps every run with its timings, byte counts and the machine’s load, so the
medians can be recomputed. The Markdown report does not show first paint; read it from the saved run
JSON. The bench README has every
option and the exact rule for each check.