TechEmpower / FrameworkBenchmarks

Source for the TechEmpower Framework Benchmarks project
https://www.techempower.com/benchmarks/
Other
7.57k stars 1.94k forks source link

PHP 8.1 update [info] #6894

Closed joanhey closed 9 months ago

joanhey commented 2 years ago

PHP 8.1

As the ppa:ondrej/php include now php8.1-rc5, I'm starting to test the frameworks for the benchmark. PHP 8.1 final will be released 25th of this month. https://www.php.net/releases/8.1/en.php

If you want to view the php8.0 update info, check #6184, that is closed now.

This list will be updated as we found problems or solutions.

Opened #7703 for php8.2

Need to fix

Bugs

Need to update

New PHP platforms/servers

joanhey commented 2 years ago

Synfony fail in the last runs, with dependencies problem. https://tfb-status.techempower.com/unzip/results.2021-12-14-11-27-15-274.zip/results/20211209201759/symfony/build/symfony.log

@jderusse @kaznovac @raziel057 ...

Could anyone fix it ? And perhaps update to php 8.1 too. Thanks

kaznovac commented 2 years ago

@joanhey for the symfony tests the log suggests that there is a problem with dependencies. offending deps are introduced in the https://github.com/TechEmpower/FrameworkBenchmarks/commit/e6b61ea2a18569026e1d340e5d1d5faf31b20499 maybe @jcheron can provide more insight (or just drop those two lines from the dockerfile and retest, the referred bug https://github.com/doctrine/dbal/issues/4603 is closed now)

also symofny should be updated to 5.4 lts (or maybe 6.0 - or even better test both lts and latest release), and entities should be refactored to reflect 'real-world' practices (use getters/setters)

sorry I don't have a free slot to address this in the next month or so...

joanhey commented 1 year ago

@kaznovac Check Symfony 700% faster using Workerman.

https://github.com/joanhey/AdapterMan

kaznovac commented 1 year ago

Amazing work @joanhey! Love the simplicity of the AdapterMan :)

Took a glance at your recipes - Symfony is moving towards https://github.com/symfony/runtime to 'abstract the php runtime' (on quite kludgy and hacky way... but in their defense they acknowledge this in https://github.com/php-runtime/runtime) away from the explicit application bootstrapping and Request handling.

I, personally, find symfony/runtime too messy to be worth debugging in the runtime (no pun intended), but I'd still suggest you to by providing the AdapterMan as implementation for the symfony/runtime you could get the better visibility for your project and yourself.

Best, k

joanhey commented 9 months ago

Check #8579