Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#59815 closed enhancement (fixed)

Measure translations performance in performance tests

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

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.


3 years 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:


3 years ago
#2

I will ping Riad to update the dashboard once committed

#3 @swissspidy
3 years ago

  • Owner set to swissspidy
  • Resolution → fixed
  • Status assigned → 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.