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/5467273 to your computer and use it in GitHub Desktop.
Save hdogan/5467273 to your computer and use it in GitHub Desktop.
Yii Framework 1.1.13 "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.
Yii 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: Yii 1.1.13 (YII_DEBUG=false)
Source Code: https://github.com/phalcon/framework-bench
ab -n 2000 -c 10 http://localhost/helloworld/yii/index.php?r=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/yii/index.php?r=say/hello
Document Length: 16 bytes
Concurrency Level: 10
Time taken for tests: 505.226 seconds
Complete requests: 2000
Failed requests: 0
Write errors: 0
Total transferred: 330000 bytes
HTML transferred: 32000 bytes
Requests per second: 3.96 [#/sec] (mean)
Time per request: 2526.128 [ms] (mean)
Time per request: 252.613 [ms] (mean, across all concurrent requests)
Transfer rate: 0.64 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 1 0.9 0 14
Processing: 806 2521 99.2 2519 3437
Waiting: 805 2521 99.3 2519 3437
Total: 819 2522 98.8 2520 3438
WARNING: The median and mean for the initial connection time are not within a normal deviation
These results are probably not that reliable.
Percentage of the requests served within a certain time (ms)
50% 2520
66% 2530
75% 2539
80% 2540
90% 2550
95% 2560
98% 2570
99% 2787
100% 3438 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment