Closed
Description
I updated my Mac to version 15.3 today.
Since then, PHP commands run in Symfony CLI have become slow.
I'm currently using PHP 8.2 and 8.4, and the slowdown is noticeable with both versions.
Here are some measurements:
8.2
time /usr/local/opt/php@8.2/bin/php -v
PHP 8.2.27 (cli) (built: Dec 17 2024 11:39:23) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.27, Copyright (c) Zend Technologies
with Zend OPcache v8.2.27, Copyright (c), by Zend Technologies
/usr/local/opt/php@8.2/bin/php -v 0.07s user 0.01s system 89% cpu 0.091 total
time symfony php -v
PHP 8.2.27 (cli) (built: Dec 17 2024 11:39:23) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.27, Copyright (c) Zend Technologies
with Zend OPcache v8.2.27, Copyright (c), by Zend Technologies
symfony php -v 0.09s user 0.04s system 5% cpu 2.135 total
8.4
time php -v
PHP 8.4.3 (cli) (built: Jan 15 2025 01:03:17) (NTS)
Copyright (c) The PHP Group
Built by Homebrew
Zend Engine v4.4.3, Copyright (c) Zend Technologies
with Zend OPcache v8.4.3, Copyright (c), by Zend Technologies
php -v 0.05s user 0.02s system 88% cpu 0.076 total
time symfony php -v
PHP 8.4.3 (cli) (built: Jan 15 2025 01:03:17) (NTS)
Copyright (c) The PHP Group
Built by Homebrew
Zend Engine v4.4.3, Copyright (c) Zend Technologies
with Zend OPcache v8.4.3, Copyright (c), by Zend Technologies
symfony php -v 0.06s user 0.04s system 4% cpu 2.109 total
Do you have any suggestions on what I should do?
Symfony CLI version 5.10.6 (c) 2021-2025 Fabien Potencier (2025-01-02T13:30:55Z - stable)
Metadata
Metadata
Assignees
Labels
No labels