Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enh: php56 vs php70 graphs/tables #33

Open
tom-- opened this issue Dec 4, 2015 · 5 comments · May be fixed by #35
Open

enh: php56 vs php70 graphs/tables #33

tom-- opened this issue Dec 4, 2015 · 5 comments · May be fixed by #35

Comments

@tom--
Copy link

tom-- commented Dec 4, 2015

Enhancement request: It would be very interesting to be able to compare PHP 5.6 against 7.0 using your benchmarks. I mean: update the readme to show both.

@motin motin linked a pull request Dec 9, 2015 that will close this issue
@motin
Copy link

motin commented Dec 10, 2015

Here are preliminary results comparing php56 vs php70: https://github.com/motin/php-framework-benchmark/blob/multiple-stacks/OTHER_RESULTS.md#motin

@tom--
Copy link
Author

tom-- commented Dec 10, 2015

Interesting!

Do the zeros represent failed tests?

The No-framework number changed little between 5.6 and 7.0. Is that because that case is bound by something other than PHP script execution, e.g. fpm?

@kenjis
Copy link
Owner

kenjis commented Dec 10, 2015

@motin How many times do you run the benchmarks?
Did you confirm the results are roughly the same all the time?

I don't understand why tipsy is faster than phalcon, codeigniter is so slow, on PHP-FPM 5.6.4 with opcode cache.

@motin
Copy link

motin commented Dec 11, 2015

Do the zeros represent failed tests?

Yes indeed

The No-framework number changed little between 5.6 and 7.0. Is that because that case is bound by something other than PHP script execution, e.g. fpm?

The environments are identical in set-up, hardware, OS and configuration except for the fact that php7.0-fpm is used instead of php5-fpm. I'd say it is pretty fair to assume that PHP 7 is simply a bit faster even in the hello world case.

How many times do you run the benchmarks?
Did you confirm the results are roughly the same all the time?

I ran them a couple more times, and the results vary quite a bit. Sometimes tipsy is twice as fast as phalcon. Will run this in production environment and report back the results.

I don't understand why tipsy is faster than phalcon, codeigniter is so slow, on PHP-FPM 5.6.4 with opcode cache.

Haven't checked, but maybe because it is extremely light-weight and more similar to a the no-framework set-up than a full-fledged framework.

@seyfer
Copy link
Contributor

seyfer commented Dec 6, 2016

It's good idea to add column for php5.6 and another column for php7 in final results picture.

Also please add ZF3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants