Skip to content

Autoloader: High Performance Overhead Despite OPCache #45269

@Mukeshoad

Description

@Mukeshoad

Impacted plugin

Jetpack

Quick summary

Jetpack Autoloader is consistently among the slowest parts of page load. Even with OPCache enabled, profiling shows hundreds of calls to PHP_Autoloader::load_class, adding significant latency.

Steps to reproduce

Jetpack Autoloader is consistently among the slowest parts of page load. Even with OPCache enabled, profiling shows hundreds of calls to PHP_Autoloader::load_class, adding significant latency.

Steps to Reproduce

Activate Jetpack + WooCommerce.

Profile any shop or checkout page.

Observe autoloader call count (~1000+) and total time (>300ms).

Environment

WooCommerce 10.x

PHP 8.2–8.4

OPCache enabled (512MB)

Litespeed server

Impact
Front-end performance degraded, especially on high-traffic stores.

Site owner impact

More than 60% of the total website/platform users

Severity

Major/Critical

What other impact(s) does this issue have?

No response

If a workaround is available, please outline it here.

No response

Platform (Simple and/or Atomic)

No response

Metadata

Metadata

Assignees

Labels

Needs triageTicket needs to be triaged[Plugin] JetpackIssues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/[Pri] Normal[Status] Auto-allocated[Type] BugWhen a feature is broken and / or not performing as intended

Type

Projects

Status

Triage

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions