From 6df8111a8d50ad49298169f18eb5d975408400b4 Mon Sep 17 00:00:00 2001 From: Niels Dossche <7771979+nielsdos@users.noreply.github.com> Date: Sun, 14 Apr 2024 13:59:46 +0200 Subject: [PATCH] [ci skip] UPGRADING Reorganize performance section. Add performance entry for GH-13041. --- UPGRADING | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/UPGRADING b/UPGRADING index 19e41afc3ef..935a12e03fd 100644 --- a/UPGRADING +++ b/UPGRADING @@ -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.