Make WordPress Core

Opened 14 months ago

Closed 11 months ago

Last modified 11 months ago

#63755 closed enhancement (fixed)

Performance improvements for 6.9

Reported by: dmsnell Owned by:
Priority: normal Milestone: 6.9
Component: General Version: 6.9
Severity: normal Keywords: has-patch close
Cc: Focuses: performance

Description

This is a general tracking ticket for various performance improvements in the WordPress 6.9 release cycle.

Attachments (1)

63755-performance-improvements.diff (1.4 KB ) - added by sachinrajcp123 13 months ago.
Add targeted caching in get_post_status() and get_userdata() to reduce repeated object lookups and improve overall performance.

Download all attachments as: .zip

Change History (11)

This ticket was mentioned in PR #9325 on WordPress/wordpress-develop by @dmsnell.


14 months ago
#1

  • Keywords has-patch added

Trac ticket: Core-63755
Replaces #9307

This patch introduces a speedup for the seems_utf8() function. Currently, the function scans every byte in user-land PHP code. This is prohibitively slow. In this change, spans of ASCII bytes are fast-tracked through the use of strspn(), which can scan valid UTF-8 single-byte characters at around 3600 MB/s instead of around 300 MB/s as is the case with the existing code.

@sachinrajcp123
13 months ago

Add targeted caching in get_post_status() and get_userdata() to reduce repeated object lookups and improve overall performance.

@dmsnell commented on PR #9325:


13 months ago
#2

Closing in favor of #9317 where seems_utf8() is deprecated.

This ticket was mentioned in Slack in #core by welcher. View the logs.


11 months ago

This ticket was mentioned in PR #10124 on WordPress/wordpress-develop by @mukesh27.


11 months ago
#4

Trac ticket: https://core.trac.wordpress.org/ticket/63755

This PR makes a minor update to the way default values are assigned for custom template properties in the get_custom_templates method, using the null coalescing operator for improved readability and consistency.

@westonruter commented on PR #10124:


11 months ago
#5

Is Core-63755 the right ticket? This doesn't seem to be a performance improvement.

@mukesh27 commented on PR #10124:


11 months ago
#6

Closing in favour of #4886

This ticket was mentioned in Slack in #core-performance by westonruter. View the logs.


11 months ago

#8 @westonruter
11 months ago

  • Keywords close added

It doesn't seem like there is anything specific being tracked by this ticket anymore. I suggest closing in favor of tickets for specific improvements.

#9 @dmsnell
11 months ago

  • Resolutionfixed
  • Status newclosed

I don’t foresee any new performance-related tickets, so I’m okay closing it.

This ticket was mentioned in Slack in #core by westonruter. View the logs.


11 months ago

Note: See TracTickets for help on using tickets.