Skip to content

Re-enable tracing JIT for PHP 8.4 PGO #36

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented Dec 13, 2024

PGO is about optimizing production builds, and it is recommendable to use tracing JIT in such environments. While JIT has been disabled years ago because of many crashing requests[1], the situation may have changed in the meantime.

We also address that enabling JIT has changed as of PHP 8.4.0[2].

[1] e88df96
[2] https://wiki.php.net/rfc/jit_config_defaults


I haven't really tested this yet, but leaving it here to not forget about it.

PGO is about optimizing production builds, and it is recommendable to
use tracing JIT in such environments.  While JIT has been disabled
years ago because of many crashing requests[1], the situation may have
changed in the meantime.

We also address that enabling JIT has changed as of PHP 8.4.0[2].

[1] <php@e88df96>
[2] <https://wiki.php.net/rfc/jit_config_defaults>
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.

1 participant