Measured, not promised
10 MB of text per run, with one or 12 matching worker threads on the same laptop. Both write the full typed tree to a file. Inputs are repetitions of the example samples, not a held-out real-world dataset.
Worker count is not a linear speed multiplier. In a separate check on the same laptop, the 10 MB log took 0.95 s with 6 worker threads and 0.84 s with 12 — about 11% less time. See the comparison.
| Text (10 MB) | Full output | 1 worker thread | 12 worker threads | Speedup | Peak memory 1 / 12 worker threads |
|---|---|---|---|---|---|
| Addresses in running text 63,963 paragraphs | 127,926 addresses 1.11M nodes · 87.9 MB JSON | 1.26 s | 0.42 s | 3.00× | 19.6 MiB / 42.0 MiB |
| Invoices 111,110 paragraphs | 111,110 invoices 1.33M nodes · 108.5 MB JSON | 3.01 s | 0.80 s | 3.76× | 13.3 MiB / 18.6 MiB |
| Financial report sentences 15,384 paragraphs | 123,072 sentences 1.38M nodes · 121.6 MB JSON | 1.97 s | 0.44 s | 4.48× | 16.6 MiB / 34.9 MiB |
| Application logs 111,524 lines | 111,524 events 2.10M nodes · 169.9 MB JSON | 3.23 s | 0.83 s | 3.89× | 14.3 MiB / 25.4 MiB |
| Money and dates 192,307 paragraphs | 384,614 payments 3.08M nodes · 248.7 MB JSON | 4.95 s | 1.30 s | 3.81× | 13.4 MiB / 18.6 MiB |
| Mixed values 35,335 paragraphs | 530,025 values 2.51M nodes · 193.3 MB JSON | 2.94 s | 0.71 s | 4.14× | 15.9 MiB / 26.1 MiB |
Measured 2026-11-29: texomy 1.0.0-rc.12 on an Apple M3 Pro laptop, 6 performance + 6 efficiency cores, 36 GiB RAM. Time is the median of 5 runs, including process startup, spec compilation, matching and JSON file writes; there is no explicit fsync. Memory is the highest peak resident size observed across those runs, in MiB. Output counts all typed nodes, including nested fields. The two worker settings produced byte-identical JSON. Input sizes are rounded down to complete records. This measures repeated-sample throughput, not extraction accuracy.
Raw measurements, commands and checksums: 1 worker thread · 12 worker threads · release sources · methodology and reproduction. Measured with the published macOS ARM64 release binary, without a separate warm-up run. Cases ran sequentially, first with one worker thread, then with 12.
Reproduction download: frozen specs, samples and scripts · download checksums · source checksums.
Records bound the work
The CLI reads records and writes results incrementally, with a bounded queue. More workers can use more memory. Large individual records and complex specs can also increase memory use; the table measures these six inputs.
The spec and output matter
Input size alone does not predict runtime. Record size, pattern complexity, overlap checks and the number of result nodes all contribute. The output column includes the complete typed tree with positions.
Parallel records
With no --threads option, the CLI uses the logical CPU count available to the process: normally 12 worker threads on this laptop. Records run concurrently while results retain input order. This does not promise full use of every core. A single whole-document record is matched by one worker thread.
6 versus 12 worker threads
Doubling worker threads does not necessarily double speed. This laptop's M3 Pro has 6 performance cores and 6 efficiency cores, rather than 12 equally powerful cores. Apple hardware specifications.
| Same 10 MB log | Wall time |
|---|---|
| 6 worker threads | 0.95 s |
| 12 worker threads | 0.84 s |
Measured 2026-11-29: median of 5 timed runs per setting, after one warm-up each, with alternating order and full JSONL file writes. Both settings produced the same output as the main log benchmark. This separate check used Python's wall-clock timer; the main table uses macOS time -l. Raw timings, commands and checksums.
macOS schedules threads across cores; --threads 6 does not pin them to the six performance cores. Scheduling, shared work and output writes also affect scaling. We did not isolate those contributions. These results compare worker counts on one laptop, not different six-core and twelve-core computers; other specs and machines may scale differently.
Running on large files
Both file size and record size affect runtime and memory. Every row above splits 10 MB into thousands of small records. Choosing record boundaries lets the CLI stream the input and process records in parallel.
- Logs and line-based output:
--records lines. When an entry spans several lines, such as a stack trace, start a record at each timestamp withstart=REGEX. - Documents separated by blank lines:
paragraphs, the default. - One document:
whole, when matches need to span the complete input, such as a single invoice or letter.
A log without blank lines becomes one record under the default paragraphs. Use --records lines for independent entries: it bounds memory and allows parallel processing.
# logs: one record per line
texomy parse app.log -m app-log --records lines -o events.jsonl
# entries with stack traces: a record starts at each timestamp
texomy parse app.log -m app-log --records 'start=^\d{4}-\d{2}-\d{2}' -o events.jsonl
# documents separated by blank lines (the default)
texomy parse letters.txt -m postal-addresses -o addresses.jsonlA log without record splitting
The same log sample, repeated to four sizes and parsed as one whole record with one worker. These runs also write the full JSON tree to a file.
| Input | Time | Peak memory |
|---|---|---|
| 1.00 MB | 0.32 s | 89.6 MiB |
| 2.00 MB | 0.65 s | 157.0 MiB |
| 5.00 MB | 1.70 s | 329.9 MiB |
| 10.00 MB | 3.55 s | 654.8 MiB |
Median of 5 runs per size. One large record uses substantially more memory than the line-split log above. These four points describe this sample and spec; they do not establish a complexity bound for arbitrary specs. Raw whole-record measurements.
Measure it on your text
Take any example from the examples, or your own spec and sample, and time it. texomy parse also prints the number of records, matches and nodes, and its own time, on stderr.
Input files are limited to 10 MB each in the free release.
# macOS; download the exact specs and benchmark scripts
curl -fLO https://texomy.com/performance/rc12-benchmark.tar.gz
tar -xzf rc12-benchmark.tar.gz
cd texomy-rc12-benchmark
texomy --version # texomy 1.0.0-rc.12
python3 benchmark/bench.py throughput --knowledge-revision 2f2bb76a689112843b73ca0b013e41bc2d9e5758 --threads 1 --runs 5 --nodes --save single.json
python3 benchmark/bench.py throughput --knowledge-revision 2f2bb76a689112843b73ca0b013e41bc2d9e5758 --threads 12 --runs 5 --nodes --save parallel.jsonWrite the spec once. Run it on everything.
Install the CLI, connect your agent, and turn your first sample into typed data in minutes.
brew install texomy/tap/texomy