Performance · verified 2026-10-30, 1.0.0

Real numbers, on real hardware.

Every number below came from a real run — Grind on real hardware, JDK 25, nothing extrapolated. The model is downloadable from the Free tier, so you don’t have to take our word for any of it.

2.23Brows / hour

Fastest measured — t8i.micro, Linux (3.10B rows / hour on a 10-million-row run). Your number depends on your model and your hardware; see the full table.

Baseline model
SixStatsdnd-ability-scores.xml
Nodes
6
Tier
Free
Machines tested
128 AWS types (6 also on Windows) + 4 local

1,000,000 observations per run, a fresh JVM each time, timed end-to-end, median of 10 runs, real seed logged per run. No caching, no batching tricks — --out /dev/null so disk I/O never enters the number.

01

Throughput by machine

The same SixStats model — six ability scores, rolled the old-school way (3d6, no rerolls) — run a million times on each of the eight EC2 instance types the free tier offers (and, on the six of them that run Windows, again on Windows Server), plus four machines on a desk: a MacBook Pro (Apple M1), an older Intel MacBook Pro, a small Linux desktop and a Windows mini PC. Each figure is the median of ten runs; the last column is the median of three 10-million-row runs.

MachineArchOSRows/hr (1M rows)Rows/hr (10M rows)
t4g.microARMLinux616,000,000650,000,000
t3.smallx86Windows Server639,000,0001,112,000,000
t4g.smallARMLinux669,000,000695,000,000
t3.microx86Windows Server689,000,0001,131,000,000
t3.smallx86Linux963,000,0001,314,000,000
t3.microx86Linux1,005,000,0001,302,000,000
c7i-flex.largex86Windows Server1,329,000,0002,107,000,000
Desktop (Core i5-4460)x86Linux1,345,000,0001,536,000,000
MacBook Pro (Apple M1)ARMmacOS1,367,000,0001,431,000,000
m7i-flex.largex86Windows Server1,473,000,0002,248,000,000
Mini PC (Ryzen 7 5825U)x86Windows 111,514,000,0001,904,000,000
MacBook Pro (Core i5-8279U)x86macOS1,618,000,0001,867,000,000
m7i-flex.largex86Linux1,645,000,0002,506,000,000
c7i-flex.largex86Linux1,709,000,0002,584,000,000
t8i.smallx86Windows Server1,796,000,0002,676,000,000
t8i.microx86Windows Server1,826,000,0002,625,000,000
t8i.smallx86Linux2,065,000,0002,938,000,000
t8i.microx86Linux2,227,000,0003,103,000,000

The 10-million-row column is higher on every x86 machine because a longer run spends less of its time warming up the JVM: on t3.small it is 36% higher, on c7i-flex.large 51%, on the two ARM instances only 4 to 5%. The 1-million-row figure is the one to quote for a short job. The two `micro` instances (t3 and t8i) each measured faster than their `small` sibling, by about 4% and 8%; we haven’t isolated why. On the same instance type, Windows Server ran at 66 to 90% of Linux’s speed (a median of about 80% on the 1-million-row runs). Windows doesn’t run on the two Graviton (ARM) instance types, so they appear only under Linux.

02

Not every model runs at this speed

SixStats is a small model — six nodes, no custom components. A model’s real cost tracks its complexity score (a structural estimate SpiceGrinder computes from your model file), but the score measures only the work of generating a row. Writing the row out costs time too, in proportion to its width. These are five real models, actually run on the 1.0.0 engine — not a fitted line.

Throughput against model complexityLog-log scatter of rows per hour against estimated cost (complexity score plus output score) for five models on three EC2 instance types. Throughput falls steadily as the estimated cost rises, from about 94 for medium-8node to 1,930 for complex-21node, on all three instance types. The same figures are in the table below.501002004007001000300M1B3B10B30BEstimated cost: complexity score + output scoreRows per hour
  • t4g.micro (ARM)
  • t3.micro (x86)
  • c7i-flex.large (x86)
Rows per hour by estimated cost (complexity score plus output score) and instance type
Estimated cost (score + output score)t4g.micro (ARM)t3.micro (x86)c7i-flex.large (x86)
92 (small-5node)3,465,000,0003,298,000,0006,367,000,000
50 (medium-8node)11,520,000,00011,829,000,00022,393,000,000
262 (large-12node)1,357,000,0001,493,000,0002,829,000,000
576 (huge-18node)635,000,000748,000,0001,496,000,000
1025 (complex-21node)405,000,000445,000,000755,000,000
Complexity score, output columns and output score for the five models
ModelComplexity scoreOutput columnsOutput scoreScore + output score
medium-8node3511550
small-5node3445892
large-12node174688262
huge-18node34216234576
complex-21node733202921,025

Both axes are log-scaled. The complexity score alone misorders the two smallest models: small-5node and medium-8node score 34 and 35, yet medium-8node runs 3.3 to 3.6 times faster on every instance. The reason is the width of the row: small-5node writes four columns per row and medium-8node writes one, and formatting and writing each column costs about as much as several generator calls. The analyzer in our development build reports that cost separately as an output score (about 15 points per output column; it will ship in the next release), so you can add it to the complexity score: on this chart, the five models then fall in the right order on all three instance types, with throughput falling steadily as the estimated cost rises. The output score was fitted on 12 machines and lifts the share of run-time variation the analyzer explains from 0.78 to 0.91 (log scale, about 140 test models), but it is an estimate for ordering models, not a prediction of rows per hour, and the best per-column cost is very machine dependent (0.67 to 2.42 across our 12 machines, against the shipped 1.46), so measure it on the platform you will run on.

03

How this was measured

Method

Real Grind --performance CLI runs, JDK 25, wall-clock timed. Same tool you’d run yourself.

Sample size

1,000,000 observations per run, ten runs per machine with a fresh JVM each time, median reported. A 10-million-row run (three per machine) is shown alongside, because a longer run warms up better. The raw run lines are kept with each result.

Hardware

The 8 EC2 instance types the AWS free tier offers (ARM/Graviton + x86, burstable + flex families), the six x86 types again on Windows Server 2022, plus a MacBook Pro (Apple M1), an older Intel MacBook Pro, a Core i5 Linux desktop and a Ryzen 7 Windows mini PC. A range of moderate hardware.

Reproduce it

The exact model file is below. Free tier, no signup — grind --count 1000000 dnd-ability-scores.xml and you can time it yourself on your own system.

04

The actual model

This is the whole file — nothing trimmed. Six built-in Free-tier components, no custom code: a die roll, floored to an integer, bundled three at a time, summed, and bundled again into six ability scores. (Complexity notes: while the model only has six nodes, all six are hit on each row produced [no branching], which increases its complexity beyond what a simple node count would imply; however, most of the nodes are relatively cheap in individual cost [Calculate is the outlier], which drives the overall complexity score lower.)

dnd-ability-scores.xmlFree tierDownload
<?xml version="1.0" encoding="UTF-8"?>
<!--
  BONUS (Free): old-school D&D ability scores — 3d6, six times, no rerolls.

  Not part of the Financial/Health/Software showcase set — a small, deliberately silly and
  relatable demo of composing built-in Core primitives, with no custom component at all
  (purer composition than samples/pro/person-model.xml needed, since that one still requires
  a custom assembler filter/DataPoint).

  Pipeline: Uniform[1,7) -> ToInteger(floor) turns the continuous draw into a d6 -> a
  Redimension(1:3) bundles three consecutive die rolls into one 3-dimension observation ->
  Calculate sums them into y[0] (y[1]/y[2] default-copy the raw dice per Calculate's own
  unassigned-index behavior) -> Arrange keeps only column 0, the sum -> a final
  Redimension(1:6) bundles six stat-sums into one 6-dimension observation: a full set of
  ability scores (STR, DEX, CON, INT, WIS, CHA, in that dimension order) for one character.

  Extension hook (Pro): the Uniform -> ToInteger pair is the reusable "d6" unit — in Pro this
  is exactly the kind of trivial-but-repeated fragment worth factoring out once as a named
  sub-model and pulling in via Import wherever a die roll belongs, instead of inlining it
  fresh every time. Free ships the inlined version below.
-->
<dataset>
	<root node="SixStats"/>
	<nodes>
		<Uniform name="Die" min="1" max="7"/>

		<ToInteger name="D6" mode="floor">
			<input name="Die"/>
		</ToInteger>

		<Redimension name="ThreeDice" dimension="3">
			<input name="D6"/>
		</Redimension>

		<Calculate name="Sum" expression="y[0] = x[0] + x[1] + x[2]">
			<input name="ThreeDice"/>
		</Calculate>

		<Arrange name="KeepSum" columns="0">
			<input name="Sum"/>
		</Arrange>

		<Redimension name="SixStats" dimension="6">
			<input name="KeepSum"/>
		</Redimension>
	</nodes>
</dataset>

SpiceGrinder benchmarks

Run your own numbers

Free tier is unlimited generation, forever, on your own hardware. No signup, no time limit.

Get SpiceGrinder Free