Make WordPress Core

Changeset 56313


Ignore:
Timestamp:
07/26/2023 07:11:44 PM (9 months ago)
Author:
joemcgill
Message:

Build/Test Tools: Run performance tests using production env vars.

This sets the following environment variables when running automated performance tests to avoid side effects that can skew performance data when the default development environment variables are used:

  • SAVEQUERIES: false
  • SCRIPT_DEBUG: false
  • WP_DEBUG: false
  • WP_DEVELOPMENT_MODE: ''

Props rajinsharwar, desrosj, mukesh27, joemcgill.
Fixes #58825.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/performance.yml

    r55976 r56313  
    3131
    3232env:
     33  # Performance testing should be performed in an environment reflecting a standard production environment.
     34  WP_DEBUG: false
     35  SCRIPT_DEBUG: false
     36  SAVEQUERIES : false
     37  WP_DEVELOPMENT_MODE: ''
     38 
    3339  # This workflow takes two sets of measurements — one for the current commit,
    3440  # and another against a consistent version that is used as a baseline measurement.
Note: See TracChangeset for help on using the changeset viewer.