Lucinda vs Laravel Benchmark

Methodology

To see how fast this framework is, a benchmark was done against Laravel, currently the most popular and reputed to be faster than its peers. To make sure they stand on equal footing, two projects were created with equivalent settings attempting to benchmark the entire mvc process:

Both projects were deployed on Apache2 web server using virtual hosts www.lucinda.local and www.laravel.local respectively. Configuration of machine frameworks were tested on:

Results

Test results below prove that Lucinda is 45 times faster than Laravel, all by virtue of doing nothing more than absolutely required:

LUCINDA
aherne@aherne-System-Product-Name:~$ ab -n 100000 -c10 http://www.lucinda.local/test This is ApacheBench, Version 2.3 <$Revision: 1807734 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking www.lucinda.local (be patient) Completed 10000 requests Completed 20000 requests Completed 30000 requests Completed 40000 requests Completed 50000 requests Completed 60000 requests Completed 70000 requests Completed 80000 requests Completed 90000 requests Completed 100000 requests Finished 100000 requests Server Software: Apache/2.4.29 Server Hostname: www.lucinda.local Server Port: 80 Document Path: /test Document Length: 3 bytes Concurrency Level: 10 Time taken for tests: 9.475 seconds Complete requests: 100000 Failed requests: 0 Total transferred: 16900000 bytes HTML transferred: 300000 bytes Requests per second: 10554.19 [#/sec] (mean) Time per request: 0.947 [ms] (mean) Time per request: 0.095 [ms] (mean, across all concurrent requests) Transfer rate: 1741.85 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.0 0 2 Processing: 0 1 0.3 1 11 Waiting: 0 1 0.3 1 11 Total: 0 1 0.3 1 11 Percentage of the requests served within a certain time (ms) 50% 1 66% 1 75% 1 80% 1 90% 1 95% 1 98% 2 99% 2 100% 11 (longest request)
LARAVEL
aherne@aherne-System-Product-Name:~$ ab -n 100000 -c10 http://www.laravel.local/test This is ApacheBench, Version 2.3 <$Revision: 1807734 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking www.laravel.local (be patient) Completed 10000 requests Completed 20000 requests Completed 30000 requests Completed 40000 requests Completed 50000 requests Completed 60000 requests Completed 70000 requests Completed 80000 requests Completed 90000 requests Completed 100000 requests Finished 100000 requests Server Software: Apache/2.4.29 Server Hostname: www.laravel.local Server Port: 80 Document Path: /test Document Length: 2 bytes Concurrency Level: 10 Time taken for tests: 429.671 seconds Complete requests: 100000 Failed requests: 0 Total transferred: 92067868 bytes HTML transferred: 200000 bytes Requests per second: 232.74 [#/sec] (mean) Time per request: 42.967 [ms] (mean) Time per request: 4.297 [ms] (mean, across all concurrent requests) Transfer rate: 209.25 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.0 0 10 Processing: 8 43 217.3 13 3166 Waiting: 6 43 217.4 13 3166 Total: 8 43 217.3 13 3166 Percentage of the requests served within a certain time (ms) 50% 13 66% 16 75% 20 80% 23 90% 27 95% 35 98% 63 99% 1294 100% 3166 (longest request)

Share