Skip to content

Performance regression in PHPUnit 11.5.54, PHPUnit 12.5.13, and PHPUnit 13.0.4 #6521

@arjan-12b

Description

@arjan-12b
Q A
PHPUnit version 11.5.54
PHP version 8.4.17
Installation Method Composer

Summary

After updating phpunit to version 11.5.54, tests are extremely slow. Running phpunit on version 11.5.53, tests are running as expected.

Current behavior

Tests are slow, can take sometimes up to 20 sec, when it passed before with ~100ms. This also leads to memory issues.

How to reproduce

Update to version 11.5.54 and run a test.

Expected behavior

Test should be as fast as before version 11.5.54.

Metadata

Metadata

Labels

type/performanceIssues related to resource consumption (time and memory)version/11Something affects PHPUnit 11version/12Something affects PHPUnit 12version/13Something affects PHPUnit 13

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions