Skip to content

Fix #81424: PCRE2 10.35 JIT performance regression #7484

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

Closed
wants to merge 1 commit into from

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented Sep 10, 2021

We backport the respective upstream fix[1] to our bundled pcre2lib.

[1] PCRE2Project/pcre2@dc5f966


Background: we updated from PCRE2 10.34 to PCRE2 10.35 (which introduced this performance regression in PHP 7.4.12; this is why it might be reasonable to backport the fix to PHP-7.4. If we don't want to touch the stable branches, we should at least backport to PHP-8.1, which has PCRE2 10.37; or we see if we can update to PCRE2 10.38, which is not yet released, though.

We backport the respective upstream fix[1] to our bundled pcre2lib.

[1] <PCRE2Project/pcre2@dc5f966>
@cmb69 cmb69 added the Bug label Sep 10, 2021
@GrahamCampbell
Copy link
Contributor

PHP has upgraded PCRE2 in patch releases before. An option is to upgrade to PCRE2 10.37 plus this patch across all of the 7.4, 8.0 and 8.1 series, and then also upgrade them all to 10.38 once that's released, assuming that happens before PHP 7.4 goes out of bug fix support?

@cmb69 cmb69 closed this in a247138 Sep 13, 2021
@cmb69 cmb69 deleted the cmb/81424 branch September 13, 2021 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants