Benchmark & Regression Audit: 2026-06-11
This audit records the performance and correctness status of the compiler.
Correctness & Regression Status
On 2026-06-11, make test was run on the host.
- Status: Zero regressions. All compiler and runtime tests passed successfully.
- Verification: Both FPC-built and self-hosted compilers reach a byte-identical fixedpoint checking gate:
/tmp/pascal26-threadsafe-selfand/tmp/pascal26-threadsafe-nextare byte-identical.
Benchmark Results
Environment: Linux x86-64.
Workload 1: Compile compiler source once (compiler/compiler.pas)
| Command | Mean [s] | Min [s] | Max [s] | Relative |
|---|---|---|---|---|
FPC |
1.360 ± 0.078 | 1.232 | 1.583 | 1.00 |
self-hosted pascal26 |
1.527 ± 0.106 | 1.423 | 1.802 | 1.12 ± 0.10 |
Workload 2: Compile Pascal hello 20 times (test/hello.pas)
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
self-hosted pascal26: 20 x hello |
59.5 ± 5.6 | 49.5 | 66.5 | 1.00 (15.05x faster) |
FPC: 20 x hello |
895.1 ± 59.1 | 818.7 | 1017.3 | 15.05 ± 1.73 |
Binary Sizes
| Output executable | FPC | Self-hosted pascal26 |
|---|---|---|
Compiler (pascal26) |
1,242,048 bytes | 1,086,474 bytes |
| Pascal hello | 191,072 bytes | 287 bytes |