Skip to content

Add some entries to the performance section of UPGRADING #16019

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

Merged
merged 2 commits into from
Sep 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions UPGRADING
Original file line number Diff line number Diff line change
Expand Up @@ -1172,6 +1172,9 @@ PHP 8.4 UPGRADE NOTES
ZTS builds under highly concurrent loads. This affects the `printf()` family
of functions as well as serialization functions such as `json_encode()`,
`serialize()`.
. `sprintf()` using only `%s` and `%d` will be compiled into the equivalent
string interpolation, avoiding the overhead of a function call and repeatedly
parsing the format string.

- DOM:
. The performance of DOMNode::C14N() is greatly improved for the case without
Expand Down Expand Up @@ -1201,6 +1204,10 @@ PHP 8.4 UPGRADE NOTES
- PCRE:
. Improved the performance of named capture groups.

- Random:
. Improved the performance of \Random\Randomizer, with a specific focus
on the getBytes() and getBytesFromString() methods.

- SimpleXML:
. Improved performance and reduce memory consumption of XML serialization.

Expand Down