Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hdogan/5467639 to your computer and use it in GitHub Desktop.
Save hdogan/5467639 to your computer and use it in GitHub Desktop.
CodeIgniter 2.1.0 "Hello World" benchmark on Raspberry Pi Model B (512MB Ram), Raspbian (Debian 7), Transcend SDHC 4GB Class 6
SD-Card Performance Benchmark Results
-------------------------------------
Transcend SDHC 4GB Class 6
Write: 20 MB/s
Read: 19 MB/s
See http://elinux.org/RPi_SD_cards#Terminal_Commands to how to done write/read performance test.
CodeIgniter Framework "Hello World" Benchmark Results
-----------------------------------------------------
OS: Raspbian (Debian 7)
Web Server Version: Nginx 1.2.1
PHP Version: PHP 5.4.4 (without APC) via FPM
Framework Version: CodeIgniter 2.1.0
Source Code: https://github.com/phalcon/framework-bench
ab -n 2000 -c 10 http://localhost/helloworld/codeigniter/index.php/say/hello/
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 localhost (be patient)
Completed 200 requests
Completed 400 requests
Completed 600 requests
Completed 800 requests
Completed 1000 requests
Completed 1200 requests
Completed 1400 requests
Completed 1600 requests
Completed 1800 requests
Completed 2000 requests
Finished 2000 requests
Server Software: nginx/1.2.1
Server Hostname: localhost
Server Port: 80
Document Path: /helloworld/codeigniter/index.php/say/hello/
Document Length: 16 bytes
Concurrency Level: 10
Time taken for tests: 370.477 seconds
Complete requests: 2000
Failed requests: 0
Write errors: 0
Total transferred: 330000 bytes
HTML transferred: 32000 bytes
Requests per second: 5.40 [#/sec] (mean)
Time per request: 1852.383 [ms] (mean)
Time per request: 185.238 [ms] (mean, across all concurrent requests)
Transfer rate: 0.87 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 1 1.4 0 23
Processing: 436 1849 82.3 1847 2402
Waiting: 421 1849 82.5 1847 2402
Total: 444 1849 81.7 1848 2403
Percentage of the requests served within a certain time (ms)
50% 1848
66% 1852
75% 1860
80% 1860
90% 1872
95% 1884
98% 2049
99% 2153
100% 2403 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment