Hi. I ran a simple benchmark for 404 page. Average from 10 times for 10 seconds for each group with two "cold" starts before each group. Higher is better.
Classis CI4 404 page:
31.05 requests/s
(100.00%)
Overriden by controller with the same view:
29.62 requests/s
(95.41%)
Overriden with caching with the same output:
30.58 requests/s
(98.51%)
"Static" PHP with 404 status with the same output:
5854.84 requests/s
(18858.00%)