1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

[ci skip] UPGRADING

Reorganize performance section.
Add performance entry for GH-13041.
This commit is contained in:
Niels Dossche
2024-04-14 13:59:46 +02:00
parent 26c432d850
commit 6df8111a8d

View File

@@ -630,21 +630,26 @@ PHP 8.4 UPGRADE NOTES
14. Performance Improvements
========================================
* The performance of DOMNode::C14N() is greatly improved for the case without
an xpath query. This can give a time improvement of easily two order of
magnitude for documents with tens of thousands of nodes.
- DOM:
. The performance of DOMNode::C14N() is greatly improved for the case without
an xpath query. This can give a time improvement of easily two order of
magnitude for documents with tens of thousands of nodes.
* The performance of strspn() and strcspn() is greatly improved.
They now run in linear time instead of being bounded by quadratic time.
- FTP:
. Improved the performance of FTP uploads up to a factor of 10x for large
uploads.
* Improved the performance of strpbrk().
- MBString:
. The performance of strspn() and strcspn() is greatly improved.
They now run in linear time instead of being bounded by quadratic time.
. mb_strcut() is much faster now for UTF-8 and UTF-16 strings.
. Looking up mbstring encoding names is much faster now.
. The performance of converting SJIS-win to unicode is greatly improved.
* mb_strcut() is much faster now for UTF-8 and UTF-16 strings.
- MySQLnd:
. Improved the performance of MySQLnd quoting.
* Looking up mbstring encoding names is much faster now.
- Standard:
. Improved the performance of strpbrk().
. get_browser() is much faster now, up to 1.5x - 2.5x for some test cases.
* The performance of converting SJIS-win to unicode is greatly improved.
* get_browser() is much faster now, up to 1.5x - 2.5x for some test cases.
* Improved the performance of MySQLnd quoting.