Performance benchmark
Interpret the historical comparison and local measurements for v0.4.0 with their methods and limitations.
Performance acceptance for v0.4.0
100 synthetic modules, PHP 8.5.4, FrameworkBundle 8.1.6, CLI OPcache off. The comparison covers native Symfony and Core before (5070bfa) and after optimization (d1070c1). HTTP measures kernel time within the PHP process.
| Measurement (ms) | Symfony | 5070bfa | d1070c1 |
|---|---|---|---|
| Dev · Warm HTTP p50 | 7.45 | 11.86 | 7.08 |
| Prod · Cold build | 1456.81 | 3165.67 | 2531.24 |
| Prod · Architecture check, primed index | — | 1265.44 | 233.66 |
| Prod · Warm HTTP p95 | 4.46 | 4.52 | 5.15 |
Production builds still cost more than native Symfony. A slow batch shifted the initial warm HTTP p95. In the independent control with nine pairs of 150 follow-up requests, both Core revisions reached 4.50 ms at p95 (p50: 2.91 → 2.90 ms).
Separate measurement series · 522511f
Core compared the reviewed runtime with reference d1070c1 using 100 generated modules. Each environment had five paired runs on PHP 8.5.4. The reference used FrameworkBundle 8.1.6 and the reviewed runtime used 8.1.11. HTTP refers to in-process kernel calls, excluding network time.
| Measurement | Core baseline | Reviewed runtime |
|---|---|---|
| Warm HTTP follow-up · development | 7.87 ms | 7.60 ms |
| Warm HTTP follow-up · production | 3.75 ms | 3.67 ms |
Explicit architecture checks took about 4% longer in development and 2% longer in production. The first development request rose from 282 to 315 ms in the paired runs. A follow-up with matching dependencies measured 385 versus 386 ms.
Historical comparison with native Symfony
The historical Core v0.2.0 benchmark uses a different comparison. It compares native Symfony with Symfony plus Core using the same synthetic application. Cold builds and warm kernel calls are measured separately. The 100-module scenario recorded three builds and 150 warm HTTP measurements per variant.
Measurement limits
The measurements apply to the documented fixtures, software revisions and environment. Changes to the module graph, Symfony version and deployment can change the results. Measure build time, explicit architecture checks and real HTTP load separately for your application.