Website Upgrade (portfolio & framework)
Tussen alle nieuwe projecten hebben we toch nog tijd gevonden om onze eigen website een kleine upgrade te geven. Het hele platform is ge’upgrade naar symfony 1.3. Alleen de digitalbase.be website is geupgrade, de digitalbase.eu draait nog op de oude code.
Als we dit gaan benchmarken krijgen we het volgende .
De oude website (in’t engels en symfony 1.2)
gnelisse@laptop01:~$ sudo ab -t 60 -n 20 http://www.digitalbase.eu/ This is ApacheBench, Version 2.3 <$Revision: 655654 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking www.digitalbase.eu (be patient)... Server Software: Apache/2.0.59 Server Hostname: www.digitalbase.eu Server Port: 80 Document Path: / Document Length: 16489 bytes Concurrency Level: 1 Time taken for tests: 27.584 seconds Complete requests: 20 Failed requests: 0 Write errors: 0 Total transferred: 335220 bytes HTML transferred: 329780 bytes Requests per second: 0.73 [#/sec] (mean) Time per request: 1379.212 [ms] (mean) Time per request: 1379.212 [ms] (mean, across all concurrent requests) Transfer rate: 11.87 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 12 15 1.9 14 19 Processing: 1344 1365 15.8 1366 1406 Waiting: 1292 1314 16.2 1311 1356 Total: 1359 1379 15.8 1379 1419 Percentage of the requests served within a certain time (ms) 50% 1379 66% 1383 75% 1390 80% 1394 90% 1406 95% 1419 98% 1419 99% 1419 100% 1419 (longest request)
En voor de nieuwe site (in het nederlands & symfony 1.3)
gnelisse@laptop01:~$ sudo ab -t 60 -n 20 http://www.digitalbase.be/ This is ApacheBench, Version 2.3 <$Revision: 655654 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking www.digitalbase.be (be patient)... Server Software: Apache/2.0.59 Server Hostname: www.digitalbase.be Server Port: 80 Document Path: / Document Length: 25861 bytes Concurrency Level: 1 Time taken for tests: 19.530 seconds Complete requests: 20 Failed requests: 0 Write errors: 0 Total transferred: 522660 bytes HTML transferred: 517220 bytes Requests per second: 1.02 [#/sec] (mean) Time per request: 976.517 [ms] (mean) Time per request: 976.517 [ms] (mean, across all concurrent requests) Transfer rate: 26.13 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 12 15 2.6 14 23 Processing: 905 962 71.7 930 1190 Waiting: 860 912 70.8 881 1138 Total: 923 976 71.4 943 1203 Percentage of the requests served within a certain time (ms) 50% 943 66% 964 75% 1005 80% 1029 90% 1084 95% 1203 98% 1203 99% 1203 100% 1203 (longest request)
Je kan dus duidelijk zien dat symfony 1.3 een pak sneller is dan de oude versie. Daarnaast ook een aantal andere voordelen :
- geïntegreerde mailer functionaliteit onder vorm van swiftmailer
- propel 1.4 : en ja wij houden van propel en hebben geen zin in doctrine
- betere test mogelijkheden : ./symfony test:all –only-failed
- test resultaten in XML (voor integratie met hudson)
Morgen doe ik nog een follow-up post ivm nieuwe content/portfolio van onze site !