Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter's 404 simple benchmark
#1

(This post was last modified: 02-11-2024, 05:43 AM by Muzikant.)

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%)
Reply
#2

I created the same 404 page with Yii 3 (in development) and the result is:
25.74 requests/s (82.90%)
Reply




Theme © iAndrew 2016 - Forum software by © MyBB