Closed joanhey closed 1 year 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
@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...
@kaznovac Check Symfony 700% faster using Workerman.
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
Check #8579
PHP 8.1
As the
ppa:ondrej/php
include nowphp8.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.phpIf 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
[x] php-ngx ~don't compile https://github.com/rryqszq4/ngx_php7/issues/133~
[x] webman ~https://github.com/walkor/webman/issues/249
exit with status 139
~[x] comet ~https://github.com/gotzmann/comet/issues/26
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /comet/vendor/workerman/workerman/Protocols/Http/Request.php on line 166
And variousexit with status 139
~[x] fat-free ~https://github.com/bcosca/fatfree/issues/1241
PHP Fatal error: $GLOBALS can only be modified using the $GLOBALS[$name] = $value syntax in /fat-free/vendor/bcosca/fatfree-core/base.php on line 2533
~[x] ~nginx-unit we will update with php 8.0, when ready to php 8.1 final we will do the same~
7387
But with errors: https://tfb-status.techempower.com/unzip/results.2022-08-21-11-27-27-592.zip/results/20220816103420/php-unit/run/php-unit.log
[ ] fuel Fail without any error
[x] slim ~
PHP Fatal error: Uncaught TypeError: Slim\App::__construct(): Argument #1 ($responseFactory) must be of type Psr\Http\Message\ResponseFactoryInterface, array given, called in /slim/index.php on line 7 and defined in /slim/vendor/slim/slim/Slim/App.php:61
~ To work with PHP 8.1 is necessary update the code to v4 https://github.com/slimphp/Slim/pull/3186[ ] phpixie
PHP Fatal error: During inheritance of Iterator: Uncaught ErrorException: Return type of PHPixie\DB\Result::current() should either be compatible with Iterator::current(): mixed, or ...
[x] amp OK but with errors in fortunes
cluster-9.ERROR: STDERR from PID 17: PHP Warning: Uninitialized string offset 71 in /amp/vendor/amphp/mysql/src/Internal/Processor.php on line 1126 amp: PHP Warning: Undefined array key 2 in /amp/vendor/amphp/mysql/src/Internal/Processor.php on line 1130
https://github.com/TechEmpower/FrameworkBenchmarks/runs/4165554696?check_suite_focus=true#step:9:525[x] swoole and now use JIT, OK with mysql but with deprecated errors https://github.com/TechEmpower/FrameworkBenchmarks/runs/4172706407?check_suite_focus=true#step:9:729 https://github.com/TechEmpower/FrameworkBenchmarks/runs/4172706407?check_suite_focus=true#step:9:804 Fail to compile with pgsql (updated to v4.8.0) I will wait a little more to update the frameworks using swoole.
Bugs
preg_match()
andpreg_match_all()
fail with:Compilation failed: unrecognised compile-time option bit(s) at offset 0
. Possibly by did't update PCRE lib.~ Fixed usingapt upgrade
or includephp8.1-dev
.Need to update
New PHP platforms/servers