Make WordPress Core

Opened 6 months ago

Closed 6 months ago

Last modified 6 months ago

#59815 closed enhancement (fixed)

Measure translations performance in performance tests

Reported by: swissspidy's profile swissspidy Owned by: swissspidy's profile swissspidy
Milestone: 6.5 Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords: has-patch has-unit-tests
Focuses: performance Cc:

Description

This is a prerequisite for #59656 as we want to measure the impact translations have on a site before and after any i18n/l10n changes. Impact can be measure not only in server response time, but also in memory usage.

Change History (4)

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


6 months ago
#1

  • Keywords has-unit-tests added
  • Installs de_DE language pack to ensure test site can be localized
  • Test both TT1 and TT3 with de_DE active
  • Adds memory usage to Server-Timing to see impact on memory as well

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

@swissspidy commented on PR #5624:


6 months ago
#2

I will ping Riad to update the dashboard once committed

#3 @swissspidy
6 months ago

  • Owner set to swissspidy
  • Resolution set to fixed
  • Status changed from assigned to closed

In 57083:

Build/Test Tools: Expand performance test scenarios.

Adds new tests for localized sites as well as the dashboard.
Also amends Server-Timing output to measure memory usage in all scenarios.

Props swissspidy, joemcgill, flixos90, mukesh27, mamaduka.
See #59656.
Fixes #59815.

Note: See TracTickets for help on using tickets.