# Benchmark record

This record captures a reproducible CLI run on 2026-08-23 using the local stable MoonBit toolchain:

- Moon: 0.1.20260807
- Moonc: 0.10.7+bc794d341
- Host: Windows, PowerShell
- Command: `moon run cmd/main -- <payload> --validate --encode --benchmark`
- Benchmark iterations inside the executable: 1000
- The reported operation count is deterministic; `wall_ms` includes the CLI process and cached build startup.

| Payload | Fields parsed per run | Symbols | Modules | Successful iterations | Operations | Observed wall time |
| --- | ---: | ---: | ---: | ---: | ---: | ---: |
| `(01)09501101530003(10)BATCH-7(17)260930` | 3 | 24 | 266 | 1000 | 51000 | 439.037 ms |
| `(01)09501101530003(10)LOT42` | 2 | 17 | 189 | 1000 | 35000 | 150.882 ms |
| `(00)123456789012345675(10)A7` | 2 | 16 | 178 | 1000 | 36000 | 176.599 ms |

The wall-clock values are one local observation rather than a portable performance claim. To repeat the measurement, run the commands from the table on the target machine and record the toolchain and host alongside the output.

## Interpretation

- `fields` is the total number of parsed GS1 elements over all iterations.
- `operations` is the library's deterministic input-and-field operation counter.
- `symbols` includes the start, data, checksum and stop symbols.
- `modules` is the sum of the standard Code 128 patterns, including the 13-module stop symbol.
