Skip to content

Commit 0eda962

Browse files
committed
docs: fix report inaccuracies in resource usage and cold/warm tables
- Resource Usage: show 'not measured' for main branch large docs instead of assumed values - Cold vs Warm: remove CPU/Memory columns (showed cold data, not warm) - Add note explaining main branch only benchmarked on small docs - Mark Rendertest main values as '(measured)' for clarity
1 parent 9c09ee0 commit 0eda962

File tree

1 file changed

+13
-16
lines changed

1 file changed

+13
-16
lines changed

docs/index.html

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -483,8 +483,8 @@ <h3 style="margin-top: 2rem;">Resource Usage Comparison</h3>
483483
<tr>
484484
<td rowspan="2"><strong>TYPO3 Core Changelog</strong> (3666 files)</td>
485485
<td>main</td>
486-
<td>~100% (single-threaded)</td>
487-
<td>N/A</td>
486+
<td>not measured</td>
487+
<td>not measured</td>
488488
</tr>
489489
<tr>
490490
<td style="color: var(--primary); font-weight: 600;">feature</td>
@@ -494,8 +494,8 @@ <h3 style="margin-top: 2rem;">Resource Usage Comparison</h3>
494494
<tr>
495495
<td rowspan="2"><strong>TYPO3 Core API</strong> (957 files)</td>
496496
<td>main</td>
497-
<td>~100% (single-threaded)</td>
498-
<td>N/A</td>
497+
<td>not measured</td>
498+
<td>not measured</td>
499499
</tr>
500500
<tr>
501501
<td style="color: var(--primary); font-weight: 600;">feature</td>
@@ -505,8 +505,8 @@ <h3 style="margin-top: 2rem;">Resource Usage Comparison</h3>
505505
<tr>
506506
<td rowspan="2"><strong>Rendertest</strong> (98 files)</td>
507507
<td>main</td>
508-
<td>~59%</td>
509-
<td>97 MB</td>
508+
<td>59% (measured)</td>
509+
<td>97 MB (measured)</td>
510510
</tr>
511511
<tr>
512512
<td style="color: var(--primary); font-weight: 600;">feature</td>
@@ -521,7 +521,11 @@ <h3 style="margin-top: 2rem;">Resource Usage Comparison</h3>
521521
</p>
522522
<p style="color: var(--text-muted); margin-top: 0.5rem; font-size: 0.9rem;">
523523
<strong>Memory Efficiency:</strong> Feature branch uses <strong>3x less memory</strong> for small docs (33 MB vs 97 MB)
524-
despite parallel processing. PHP profiling via <code>memory_get_peak_usage(true)</code>.
524+
despite parallel processing. Memory from PHP <code>memory_get_peak_usage(true)</code>.
525+
</p>
526+
<p style="color: var(--text-muted); margin-top: 0.5rem; font-size: 0.9rem;">
527+
<strong>Note:</strong> Main branch benchmarks only run on small docs due to long execution time (~17 min for Changelog).
528+
Main branch is single-threaded (no <code>pcntl_fork</code>).
525529
</p>
526530

527531
<div class="chart-container">
@@ -587,41 +591,34 @@ <h2>Cold vs Warm Build Performance (Feature Branch)</h2>
587591
<th>Documentation</th>
588592
<th>Cold Build</th>
589593
<th>Warm Build</th>
590-
<th>CPU Usage</th>
591-
<th>Peak Memory</th>
592-
<th>Difference</th>
594+
<th>Improvement</th>
593595
</tr>
594596
</thead>
595597
<tbody>
596598
<tr>
597599
<td><strong>TYPO3 Core Changelog</strong> (3666 files)</td>
598600
<td>43.1s</td>
599601
<td>34.1s</td>
600-
<td>437%</td>
601-
<td>942 MB</td>
602602
<td><span style="color: var(--success); font-weight: bold;">-21%</span></td>
603603
</tr>
604604
<tr>
605605
<td><strong>TYPO3 Core API</strong> (957 files)</td>
606606
<td>33.9s</td>
607607
<td>27.1s</td>
608-
<td>387%</td>
609-
<td>567 MB</td>
610608
<td><span style="color: var(--success); font-weight: bold;">-20%</span></td>
611609
</tr>
612610
<tr>
613611
<td><strong>Rendertest</strong> (98 files)</td>
614612
<td>5.53s</td>
615613
<td>4.27s</td>
616-
<td>200%</td>
617-
<td>33 MB</td>
618614
<td><span style="color: var(--success); font-weight: bold;">-23%</span></td>
619615
</tr>
620616
</tbody>
621617
</table>
622618
<p style="color: var(--text-muted); margin-top: 1rem; font-size: 0.9rem;">
623619
<strong>Note:</strong> Warm builds benefit from Twig template caching persisted between runs.
624620
The 20-23% improvement comes primarily from avoiding Twig template recompilation.
621+
CPU usage and memory consumption are similar between cold and warm builds.
625622
</p>
626623
</div>
627624

0 commit comments

Comments
 (0)