AutoEQ Benchmarks
modernGraphTool’s AutoEQ runs turboEQ, a WebAssembly port of AutoEq’s optimizer. This page compares it, as an algorithm, with the optimizers it replaces and with the one it was ported from. Every engine fits the same 178 real IEM measurements under the same constraints.
Summary
Section titled “Summary”- It is two orders of magnitude faster. With eight bands, turboEQ’s median run is 4.6 ms. CrinGraph’s optimizer takes 1.30 s and modernGraphTool’s old TypeScript one 2.14 s.
- It returns the number of bands you ask for, every time. Asked for eight, CrinGraph returned eight for 87% of the measurements and the old optimizer for 22%.
- Exact match fits closest from eight bands up. At ten bands, its median error across 20 Hz–20 kHz is 0.49 dB, against 0.76 for the old optimizer and 1.24 for CrinGraph. At eight it leads by less (0.76 against 0.87), and its bad cases are less bad (1.47 against 2.01 at the 90th percentile). On headphones it leads at every band count.
- With five bands on IEMs, the old optimizer scores better, mostly on level. It reaches 1.17 dB against exact match’s 1.27. Where turboEQ loses explains why.
- Treble-safe stays close to AutoEq. Given the same constraints, its EQ lands 0.15 dB (median) from AutoEq’s when both run to convergence. For comparison, AutoEq’s own early stopping moves AutoEq’s answer by 0.07 dB.
- Exact match needs the most headroom in the worst cases. Like CrinGraph and the old optimizer, it limits each band and not the whole EQ, so a curve far below the target can take 20 dB of boost or more. Treble-safe, like AutoEq, keeps the whole EQ near 6 dB. See Boost.
The constraints
Section titled “The constraints”Every engine got the same limits on each band:
| Limit | Value |
|---|---|
| Q | 0.1–10 |
| Gain | −20 to +20 dB |
| Where a band may sit | 20 Hz–20 kHz |
Some differences between the engines are part of the method and stay:
- CrinGraph has no shelf filters, so all of its bands are peaking. The others use a low and a high shelf once there are four bands or more, and place them themselves. turboEQ and AutoEq keep shelf Q between 0.4 and 0.7.
- Treble-safe places no band above 10 kHz, because above that it scores only the overall level, not the shape.
- Treble-safe and AutoEq also cap the whole EQ’s largest boost at AutoEq’s own 6 dB, as the panel runs treble-safe. The other engines limit each band on its own and nothing more.
Band counts below are totals, shelves included. Ten bands is the layout of AutoEq’s
8_PEAKING_WITH_SHELVES preset.
Median time for one fit, in milliseconds. The last column is the 90th percentile at ten bands.
| Engine | 5 bands | 8 bands | 10 bands | 10 bands, p90 |
|---|---|---|---|---|
| CrinGraph | 764 | 1,300 | 1,620 | 1,830 |
| mGT TypeScript | 916 | 2,140 | 2,980 | 3,490 |
| turboEQ · Exact match | 1.5 | 4.6 | 8.5 | 16 |
| turboEQ · Treble-safe | 2.5 | 10 | 22 | 51 |
| AutoEq (Python) | 46 | 113 | 181 | 271 |
At eight bands, turboEQ is about 280× faster than CrinGraph and 470× faster than the old optimizer. On the same work as AutoEq itself, the curve processing plus the fit, treble-safe is about 11× faster than the Python original.
CrinGraph runs on the page’s main thread, so the page freezes for as long as the fit takes. modernGraphTool runs AutoEQ in a web worker, and the TypeScript fallback runs there too.
Fit quality
Section titled “Fit quality”How close the equalized curve lands to the target, as RMS error in dB after removing the overall level offset. Lower is better. Without any EQ, the median error is 3.04 dB across 20 Hz–20 kHz and 2.24 dB below 10 kHz.
Across 20 Hz–20 kHz, median with the 90th percentile in parentheses:
| Engine | 5 bands | 8 bands | 10 bands |
|---|---|---|---|
| CrinGraph | 2.01 (3.04) | 1.47 (2.84) | 1.24 (2.60) |
| mGT TypeScript | 1.17 (2.28) | 0.87 (2.01) | 0.76 (1.92) |
| turboEQ · Exact match | 1.27 (2.32) | 0.76 (1.47) | 0.49 (1.14) |
| turboEQ · Treble-safe | 1.74 (2.64) | 1.65 (2.61) | 1.65 (2.57) |
| AutoEq (Python) | 1.78 (2.65) | 1.71 (2.60) | 1.72 (2.63) |
Below 10 kHz, median. This leaves out the region AutoEq deliberately does not shape:
| Engine | 5 bands | 8 bands | 10 bands |
|---|---|---|---|
| CrinGraph | 0.82 | 0.37 | 0.27 |
| mGT TypeScript | 0.66 | 0.50 | 0.45 |
| turboEQ · Exact match | 0.83 | 0.43 | 0.24 |
| turboEQ · Treble-safe | 0.91 | 0.81 | 0.79 |
| AutoEq (Python) | 0.93 | 0.83 | 0.82 |
How often the requested band count came back:
| Engine | 5 bands | 8 bands | 10 bands |
|---|---|---|---|
| CrinGraph | 94% | 87% | 65% |
| mGT TypeScript | 58% | 22% | 5% |
| turboEQ (both modes) and AutoEq | 100% | 100% | 100% |
CrinGraph’s search stops once it runs out of candidate peaks and dips. The TypeScript optimizer also drops bands it judges ineffective, so its numbers above often come from fewer bands than asked.
Treble-safe scores worse on purpose. It smooths the treble, scores only the level above 10 kHz and places no band there. That gives up matching the graph in exchange for a correction that holds up when the treble measurement can’t be trusted.
Exact match, like the TypeScript optimizer, will use narrow, deep bands when they fit. Whether those are an improvement you can hear is a separate question. The error here is measured against the same measurement the EQ was fitted to, and narrow features in the treble move with fit and seating, so a band aimed exactly at one may miss it on your head.
The largest boost each EQ applies, in dB, which is what the preamp gives back: an EQ that boosts 6 dB somewhere plays 6 dB quieter. Median, with the 90th percentile in parentheses:
| Engine | 5 bands | 8 bands | 10 bands |
|---|---|---|---|
| CrinGraph | 5.5 (9.5) | 6.3 (10.4) | 6.2 (11.0) |
| mGT TypeScript | 5.7 (11.2) | 6.0 (12.3) | 6.2 (13.0) |
| turboEQ · Exact match | 6.5 (12.3) | 7.0 (14.8) | 6.9 (15.6) |
| turboEQ · Treble-safe | 4.6 (6.5) | 5.0 (6.4) | 5.1 (6.3) |
| AutoEq (Python) | 4.6 (6.6) | 4.9 (6.3) | 4.9 (6.3) |
Treble-safe and AutoEq cap the whole EQ at 6 dB. Their bands overshoot the cap a little, but rarely by much. The other three engines limit each band and nothing else, so where a measurement falls far below the target, usually an IEM whose treble rolls off, they stack bands, and their worst curves need 20 to 30 dB, exact match’s the most.
With the panel’s own default ranges, ±12 dB per band and bands up to 15 kHz, exact match’s largest boost at eight bands is 22 dB, and 8 of the 178 curves need more than 15 dB. Fit mode says what to do when that costs too much loudness.
Where turboEQ loses
Section titled “Where turboEQ loses”With five bands on IEMs, the old TypeScript optimizer scores 1.17 dB against exact match’s 1.27. Almost all of that is level. The scores on this page remove the overall level offset, the most generous way to line two curves up, and the TypeScript optimizer’s answers lean on it. Line the curves up the way AutoEq does instead, by the mean error between 100 Hz and 10 kHz before any EQ, and it scores 1.73 while exact match stays at 1.27. turboEQ fits at a fixed level, so its score does not move.
What is left is the optimizer itself. With so few bands, turboEQ sometimes settles in a local
minimum from the layout AutoEq’s init() starts it in. Its own objective rates the TypeScript
answer better on 47 of the 178 curves at five bands, 10 at eight and none at ten.
Distance from AutoEq
Section titled “Distance from AutoEq”How different each engine’s EQ is from what upstream AutoEq by jaakkopasanen produces for the same measurement, under the same constraints: the RMS difference between the two EQ curves over 20 Hz–20 kHz, level offset removed. Median, with the 90th percentile in parentheses.
| Engine | 8 bands | 10 bands |
|---|---|---|
| CrinGraph | 1.32 (2.20) | 1.33 (2.13) |
| mGT TypeScript | 1.37 (2.03) | 1.44 (2.05) |
| turboEQ · Exact match | 1.43 (2.07) | 1.59 (2.21) |
| turboEQ · Treble-safe | 0.18 (0.53) | 0.19 (0.59) |
| AutoEq, run to convergence | 0.07 (0.20) | 0.07 (0.16) |
The last row compares AutoEq with itself, with and without the preset’s early stopping (min_std).
turboEQ always runs to convergence. Measured against converged AutoEq instead, treble-safe is
0.15 dB away at eight bands and 0.17 at ten. With the shelves pinned where AutoEq’s presets put
them, the same comparison gives 0.10 at eight bands: letting the shelves move gives two optimizers
more places to settle apart.
Exact match is as far from AutoEq as the other engines are, and that is intended. It fits a different target: the curve as the graph shows it.
Headphones
Section titled “Headphones”The headphone set is small: 15 curves from seven headphones, six of them one headphone in different EQ modes. Treat it as a consistency check rather than a second result. At eight bands:
| Engine | Median time | Band count | 20 Hz–20 kHz | Below 10 kHz |
|---|---|---|---|---|
| CrinGraph | 1.50 s | 100% | 3.22 | 0.87 |
| mGT TypeScript | 1.97 s | 40% | 1.42 | 1.05 |
| turboEQ · Exact match | 3.5 ms | 100% | 1.32 | 0.80 |
| turboEQ · Treble-safe | 6.2 ms | 100% | 1.94 | 0.99 |
| AutoEq (Python) | 140 ms | 100% | 2.03 | 1.03 |
Exact match leads at five and ten bands too, across the full band (1.64 against 1.80, and 1.15 against 1.27). It can follow the narrow peaks and notches of a headphone’s treble, because the penalty on steep bands and the extra smoothing AutoEq applies to its target are off in exact mode.
Feature comparison
Section titled “Feature comparison”| CrinGraph | mGT TypeScript (fallback) | turboEQ in modernGraphTool | AutoEq (Python) | |
|---|---|---|---|---|
| Optimizer | Greedy candidate search, then grid refinement | CrinGraph lineage, plus shelves and pruning | All parameters at once, with analytic gradients | All parameters at once, SciPy SLSQP |
| Filter types | Peaking | Peaking, low and high shelf | Peaking, low and high shelf placed by the fit | Peaking, shelves (its presets pin them) |
| Returns the band count | Often fewer | Often fewer | Always | Always |
| Ranges | Clamped after the fit | Limit the search | Bounds inside the optimizer | Bounds inside the optimizer |
| Sharp filters | Allowed | Allowed | Exact match: allowed. Treble-safe: penalized | Penalized above ~18 dB/octave |
| Level alignment | Whatever the graph’s normalization gives | Pinned at 1 kHz | Minimum mean error, 100 Hz–10 kHz | Minimum mean error, 100 Hz–10 kHz |
| Treble | First pass skips above 7 kHz | Fitted like everything else | Exact match: full shape. Treble-safe: AutoEq’s handling | Smoothed, level only above 10 kHz |
| Boost limit | Per band | Per band | Exact match: per band. Treble-safe: whole EQ, 6 dB | Whole EQ, 6 dB by default |
| Graphic EQ presets | No | No | Yes, gain only on the preset’s bands | Yes, fixed-band EQ |
| Runs | Page’s main thread | Web worker | Web worker, WebAssembly (about 37 KB gzipped) | Python |
How this was measured
Section titled “How this was measured”- Data. The measurements of silicagel.squig.link database.
One measurement per device, the first file of each
phone_book.jsonentry, left and right averaged: 178 IEM curves. Every headphone measurement was used, all 15, because there were so few. Targets were Harman IE 2019v2 for IEMs and Harman 2018 for headphones. - Inputs. Each engine got its curves the way its own app prepares them. CrinGraph: its 1/48-octave grid and 60-phon loudness normalization. modernGraphTool: 1/48-octave smoothing and 500 Hz normalization. AutoEq: the raw average, as its command line takes it.
- Scoring. Every engine’s filters went through the same biquads at 48 kHz, were added to the raw measurement, and were compared with the raw target on a 1/48-octave grid.
- Timing. The engine call alone, one fit after another, after a warm-up fit. The JavaScript engines ran under Node 24.16 on V8, which is the engine Chrome runs. In the app, a run also pays a message round trip to the worker. AutoEq ran under Python 3.14.3, NumPy 2.5.3 and SciPy 1.18.1.
- Versions. turboEQ 0.3.1, CrinGraph from
squiglink/labmainat9ff842c, AutoEq v4.1.2. - Machine. Intel Core i7-14700, 32 GB, Windows 11. Measured 2026-11-27.
Timings don’t carry over to other machines.
Reproducing
Section titled “Reproducing”The harness lives in
scripts/bench-autoeq/.
It needs a checkout of squiglink/lab, a checkout of AutoEq, and a measurement folder with a
phone_book.json. The constraints default to the ones above and can be changed with --q,
--gain and --fc:
node scripts/bench-autoeq/run.mjs --data DATA_DIR --target TARGET.txt \ --lab LAB_REPO --out iem.jsonlpython scripts/bench-autoeq/upstream.py --autoeq AUTOEQ_REPO \ --curves iem.curves.json --out iem-upstream.jsonlnode scripts/bench-autoeq/score.mjs --curves iem.curves.json iem.jsonl iem-upstream.jsonlupstream.py reads the constraints from iem.curves.json, so AutoEq runs under the same ones.
It needs NumPy, SciPy, Matplotlib, tabulate and PyYAML, since AutoEq imports all of them. The
headphone numbers add --all-files to run.mjs, which takes every measurement of each entry
rather than its first.