Skip to content

Instantly share code, notes, and snippets.

@hdogan
Last active December 16, 2015 16:58
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/5466569 to your computer and use it in GitHub Desktop.
Save hdogan/5466569 to your computer and use it in GitHub Desktop.
Phalcon 1.0.1 "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.
Phalcon 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: Phalcon 1.0.1
Source Code: https://github.com/phalcon/framework-bench
ab -n 2000 -c 10 http://localhost/helloworld/phalcon/index.php?_url=/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/phalcon/index.php?_url=/say/hello
Document Length: 16 bytes
Concurrency Level: 10
Time taken for tests: 29.683 seconds
Complete requests: 2000
Failed requests: 0
Write errors: 0
Total transferred: 330000 bytes
HTML transferred: 32000 bytes
Requests per second: 67.38 [#/sec] (mean)
Time per request: 148.416 [ms] (mean)
Time per request: 14.842 [ms] (mean, across all concurrent requests)
Transfer rate: 10.86 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 1 1.1 0 17
Processing: 40 147 37.6 143 549
Waiting: 31 147 37.5 143 549
Total: 49 148 37.5 144 550
Percentage of the requests served within a certain time (ms)
50% 144
66% 147
75% 149
80% 150
90% 155
95% 160
98% 172
99% 459
100% 550 (longest request)
@Munkey74
Copy link

Hi,

I'm trying to install Phalcon PHP on my Raspberry PI. I'm facing issues during the installation (see http://forum.phalconphp.com/discussion/2282/installation-on-raspbery-pi#C7774).

Do you have a procedure for the Phalcon PHP installation on a Raspberry pi ?

Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment