timelib performance fix
| From: | Dmitry Stogov | Date: | Mon, 30 Aug 2021 13:53:35 +0000 |
| Subject: | timelib performance fix | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-115897@lists.php.net to get a copy of this message | ||
Hi Derick,
Please, let me know you decision according
https://github.com/derickr/timelib/pull/99
This workaround fix makes ~170 times improvement on "new DateTimeZone()"
and as result visible improvement on some real-life apps (e.g Symfony demo
gets ~7% according to callgrind).
This is a huge difference.
The fix was proposed more than a half year ago...
It would be great to include it into PHP-8.1 release.
Thanks. Dmitry.