Comments (15)
See output/results.hello_world.log
. It seems your data is broken.
Normal data: https://github.com/kenjis/php-framework-benchmark/blob/master/output/results.hello_world.log
from php-framework-benchmark.
this content of results.hello_world.log
phalcon-2.0: 2546.68: </body></html>: </body></html>
ice-1.0: 1567.69: </body></html>: </body></html>
slim-2.6: 1767.52: </body></html>: </body></html>
codeigniter-3.0: 2642.22: </body></html>: </body></html>
lumen-5.0: 2848.80: </body></html>: </body></html>
yii-2.0: 2320.53: </body></html>: </body></html>
silex-1.2: 2817.86: </body></html>: </body></html>
cygnite-1.3: 2199.55: </body></html>: </body></html>
bear-1.0: 1767.56: </body></html>: </body></html>
fuel-1.8-dev: 2211.19: </body></html>: </body></html>
cake-3.0: 2854.04: </body></html>: </body></html>
aura-2.0: 2101.84: </body></html>: </body></html>
from php-framework-benchmark.
It seems you don't install this correctly.
You should configure your web server that you can access this repository as http://127.0.0.1/php-framework-benchmark/
. Or you have to change:
https://github.com/kenjis/php-framework-benchmark/blob/master/benchmark.sh#L3
from php-framework-benchmark.
see:
from php-framework-benchmark.
You must install and setup correctly: https://github.com/kenjis/php-framework-benchmark#how-to-benchmark
It seems ab
requests to 404 pages. Make sure if you can see hello world page like this:
Hello World! 1310720:0.005535
Text only. No html tags.
from php-framework-benchmark.
kenjis, could you please provide your server configuration? Out of the box only yii works fine, all the other frameworks return 404/500 errors, I think this is because of missing URL rewriting configurations? With some additions, I could make about 50% of frameworks to work properly, but the others continue to return error pages. Have you added something to .htaccess or nginx.conf or similar files? I'm trying to setup the project on nginx server.
from php-framework-benchmark.
@xf3 I don't use mod_rewrite. If you enable it, some frameworks may retrun errors.
from php-framework-benchmark.
@kenjis strange then, as I said, only yii uses to work after running setup script. Probably with Apache situation differs.
from php-framework-benchmark.
My Apache config:
<VirtualHost *:80>
DocumentRoot /home/vagrant/public
</VirtualHost>
from php-framework-benchmark.
Thanks, will try to figure out the problem
from php-framework-benchmark.
I have similar problem with some frameworks (eg. symfony-2.7, laravel-5.1).
I see after run in the browser http://benchmark/laravel-5.1/public/index.php/hello/index I see only Hello World!
without memory usage and time. I see the code after response send() in the laravel-5.1/public/index.php
is not running:
$response->send();
$kernel->terminate($request, $response);
printf(
"\n%' 8d:%f",
memory_get_peak_usage(true),
microtime(true) - $_SERVER['REQUEST_TIME_FLOAT']
);
laravel-5.1.output
Hello World!
results.hello_world.log
phalcon-2.0: 4080.87: 524288: 0.000593
ice-1.0: 4368.31: 524288: 0.000746
codeigniter-3.0: 472.66: 1310720: 0.010451
yii-2.0: 292.29: 2883584: 0.016363
symfony-2.7: 76.55: Hello World!: Hello World!
laravel-5.1: 83.63: Hello World!: Hello World!
zf-2.4: 82.66: 6815744: 0.039616
Any idea?
from php-framework-benchmark.
You probably use PHP FPM.
http://symfony.com/doc/current/components/http_kernel/introduction.html#the-kernel-terminate-event
from php-framework-benchmark.
Yes, I'm using the latest php-fpm 5.6.14
----- Reply message -----
Od: "kenjis" [email protected]
Do: "kenjis/php-framework-benchmark" [email protected]
DW: "Mariusz Łączak" [email protected]
Temat: [php-framework-benchmark] Division by zero (#20)
Data: czw., paź 22, 2015 22:46
You probably use PHP FPM.
http://symfony.com/doc/current/components/http_kernel/introduction.html#the-kernel-terminate-event
—
Reply to this email directly or view it on GitHub.
from php-framework-benchmark.
How to fix it?
from php-framework-benchmark.
@kenjis it appears that the configuration given in the README requires to run apache2 with mod_php
from php-framework-benchmark.
Related Issues (20)
- Mako framework?
- Nova Framework
- 'ab' is not fast enough HOT 5
- Framework Request: CodeIgniter 3 and 4? HOT 1
- Phalcon 3.0 + PHP 7 HOT 2
- Command Not Found? HOT 2
- typo3f-3.0 setup is broken HOT 4
- Raw php echo and include? HOT 2
- Seperate Framework, Micro-Framework, Library chart HOT 2
- [Feature request] Can you add Kraken as well?
- Can you add Nette please?
- Cakphp is faster than phalcon??? HOT 5
- [feature request] can you add easy-php as well?
- yaf yaf yaf
- O2System PHP Framework Benchmark HOT 1
- Bench AltoRouter and Klein.php HOT 1
- Error HOT 2
- php micro & router framework benchmark
- Flash web framework benchmark
- Add Unic Framework
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-framework-benchmark.