-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Prevent regex cache reuse when JIT flag does not match php.ini #11545
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
Conversation
18afe29
to
4f12777
Compare
@iluuu1994 thank you for your #11374 (comment). Here is the benchmark comparison before/after this PR: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is broken, it shows 4435 commits. Please create a new one. Please also target master
. The last PR as shown that it's easy to create regressions.
@iluuu1994 please reopen, this PR is NOT broken, I only merged in master to run the BENCHMARK which is CI job in master only, then I reverted it correctly. |
No you did not. Reverting a merge is not actually possible. |
@TimWolla it is, see the correct diff and feel free to open the branch in GitKraken. If you think I am wrong, please tell me why the result is wrong. I propose this PR to PHP 8.1 as bugfix. The mvorisek@660452b commit shows the BENCHMARKING data, one commit later I reverted the merge... |
@mvorisek mvorisek@5d7aa3d Instead of reverting, you should |
@iluuu1994 reopen this PR and I will squash. |
@iluuu1994 can you please reopen this PR? I will sqush and force push, I do not see any reason to open a new PR. Thank you. |
@iluuu1994 please reopen this PR so I can fix/amend it |
@nielsdos do you have the rights to reopen this PR or who else has? |
@mvorisek So basically, you should do this:
For future reference, I recommend to use rebasing instead of merging. Undoing merges is a headache. Interactive rebasing give you more freedom. |
@nielsdos please reopen it, I use git daily and I can/will squash and force push the branch to no contain the merge/revert. |
Okay I did, please fix this up and retarget this to master. |
1d84f5f
to
77e72f5
Compare
@mvorisek Please also take into account Ilija's feedback: #11545 (comment) Also target this to master please. |
cb73327
to
31197da
Compare
@nielsdos git history squashed, about the targetting - can you please review the code? it is a bugfix without ABI break, performance was evaluated here - #11545 (comment), with this said, is the current targed right? |
@mvorisek I agree with Ilija that this should target master because it's too easy to create regressions in this component. It's always possible to backport patches from master in stable branches if really necessary, after they've proven their safety in the master branch. Note however that this is not a promise this will happen with this patch. For now, you should target this to master. It's either that, or no chance at all for merging. |
ok, retargetted |
@mvorisek Also: fetch the master branch, and then rebase (not merging) your branch so that it's properly based on the master branch. This will also re-trigger CI too and fixup the failing targets. |
31197da
to
aba6e05
Compare
rebased (for GH it is not needed, but for other CI providers it is) |
aba6e05
to
886e6f0
Compare
886e6f0
to
d607227
Compare
d607227
to
78f8281
Compare
Hey guys, this PR is here for a while, please let me know if there is anything I can do. The performance impact should be nearly zero this time. |
With the bug that prompted the existence of this workaround being fixed, I think this PR is not needed anymore. |
If this PR does not imply any measureable perfomance penalty, it should be landed into master, as updated php.ini value should still be honored in general as much as possible. |
Fix #11374, replace #11396 and #11511