Skip to content

Use tracing JIT to prevent performance test crashes - #93

Merged
WalterWoshid merged 1 commit into
okapi-web:masterfrom
WalterWoshid:fix/performance-tracing-jit
Sep 5, 2026
Merged

Use tracing JIT to prevent performance test crashes#93
WalterWoshid merged 1 commit into
okapi-web:masterfrom
WalterWoshid:fix/performance-tracing-jit

Conversation

@WalterWoshid

Copy link
Copy Markdown
Contributor

The performance workflow could crash during PHPUnit data-provider discovery when setup-php's default opcache.jit=1235 compiled the exporter's recursive helper. Select tracing JIT explicitly while keeping OPcache and JIT enabled for the benchmarks.

Verify the active JIT configuration before testing, allow all PHP 8.1–8.5 matrix jobs to finish independently, and limit each job to 15 minutes. Add PERFORMANCE.md with the debugger findings, local benchmark settings, and the scope of the PHP engine workaround; link it from the README.

Fixes #92.

Validation on the same commit, cf24e3f:

  • Fork PHP Tests: three successful attempts, five PHP versions each.
  • Fork PHP Performance Tests: three successful attempts, five PHP versions each.
  • All 30 matrix jobs succeeded. The existing incomplete/skipped tests and dependency deprecation notices remain.

This addresses the observed test-workflow crash. The underlying PHP compiler defect remains separate, and the library continues to use the application's PHP configuration.

@WalterWoshid
WalterWoshid merged commit e6af1a8 into okapi-web:master Sep 5, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PHP 8.5 performance workflow segfaults on Ubuntu (exit 139)

1 participant