Performance · verified 2026-11-29, 1.1.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.82Brows / hour

Fastest measured — t8i.micro, Linux (3.46B 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
1310 AWS types + 3 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 ten EC2 instance types the free tier offers, plus three machines on a desk: 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.smallARMLinux912,000,000995,000,000
t4g.microARMLinux965,000,0001,024,000,000
t3.smallx86Linux1,076,000,0001,318,000,000
t3.microx86Linux1,234,000,0001,436,000,000
Desktop (Core i5-4460)x86Linux1,425,000,0001,609,000,000
MacBook Pro (Core i5-8279U)x86macOS1,626,000,0001,896,000,000
t9g.smallARMLinux1,980,000,0002,083,000,000
Mini PC (Ryzen 7 5825U)x86Windows 112,047,000,0002,412,000,000
m7i-flex.largex86Linux2,059,000,0002,950,000,000
t8i.smallx86Linux2,260,000,0002,856,000,000
c7i-flex.largex86Linux2,289,000,0003,060,000,000
t9g.microARMLinux2,403,000,0002,529,000,000
t8i.microx86Linux2,825,000,0003,460,000,000

The 10-million-row column is higher on every machine because a longer run spends less of its time warming up the JVM: by 13 to 43% on the x86 machines (most on m7i-flex.large), by only 5 to 9% on the four Graviton (ARM) instances. The 1-million-row figure is the one to quote for a short job. Each of the four `micro` instance types measured faster than its `small` sibling, by 6% (t4g) to 25% (t8i); we haven’t isolated why. For 1.1 the EC2 instances ran Linux only, so the one Windows figure is the mini PC’s.

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.1 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.3050100200400800300M1B3B10B30BEstimated 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)
37 (medium-8node)12,903,000,00013,471,000,00024,275,000,000
59 (small-5node)4,841,000,0005,149,000,0008,942,000,000
181 (large-12node)1,886,000,0001,980,000,0003,303,000,000
342 (huge-18node)905,000,0001,139,000,0002,049,000,000
727 (complex-21node)538,000,000582,000,000651,000,000
Complexity score, output columns and output score for the five models
ModelComplexity scoreOutput columnsOutput scoreScore + output score
medium-8node291837
small-5node2743259
large-12node134647181
huge-18node21616126342
complex-21node56920158727

Both axes are log-scaled. The complexity score alone misorders the two smallest models: small-5node and medium-8node score 27 and 29, yet medium-8node runs 2.6 to 2.7 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 a few generator calls. The analyzer reports that cost separately as an output score (about 8 points per output column), 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 the 8 AWS free-tier instance types and lifts the share of run-time variation the analyzer explains from 0.85 to 0.89 (log scale, about 130 test models), but it is an estimate for ordering models, not a prediction of rows per hour, and the best per-column cost is machine dependent (0.55 to 1.05 across those 8 types, against the shipped 0.79), 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 10 EC2 instance types the AWS free tier offers (ARM/Graviton + x86, burstable + flex families) on Linux, plus 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