fix(profiling): disable wall/cpu on some PHP 8.5 builds#3889
fix(profiling): disable wall/cpu on some PHP 8.5 builds#3889morrisonlevi wants to merge 6 commits into
Conversation
|
Benchmarks [ profiler ]Benchmark execution time: 2026-05-21 18:35:49 Comparing candidate commit 5a44a85 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 29 metrics, 7 unstable metrics. |
1a222c9 to
80530b1
Compare
Description
Disables the wall- and cpu-time sample types of the profiler on PHP 8.5.0 through 8.5.6 (inclusive) so it doesn't trigger the tailcall VM vm_interrupt crash fixed in the upcoming PHP 8.5.7 release.
Technically, anything which sets the
vm_interruptcan trigger this crash, such the tracer and even PHP itself with its timeout limit. However, the profiler sets it all the time (roughly every 10 ms) with its wall- and cpu-time sample types, so it is the most common trigger.Affected customers:
You can check your PHP version and VM kind with:
php -r 'echo PHP_VERSION, "\n", (defined("ZEND_VM_KIND") ? ZEND_VM_KIND : "undef"), "\n";'Reviewer checklist