Skip to content

Commit

Permalink
Merge pull request shopware#610 from shopware/shyim-patch-4
Browse files Browse the repository at this point in the history
Add PCRE Jit hint
  • Loading branch information
lernhart authored Jun 17, 2022
2 parents 6632089 + 1cf59b2 commit cd3f4b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions guides/hosting/performance/performance-tweaks.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ zend.detect_unicode=0
realpath_cache_ttl=3600
```

Also PHP PCRE Jit Target should be enabled, this can checked using `php -i | grep 'PCRE JIT Target'` or looking into the phpinfo page.

For an additional 2-5% performance improvement, it is possible to provide a preload file to opcache. Preload also brings a lot of drawbacks:

- Each cache clear requires a PHP-FPM restart
Expand Down

0 comments on commit cd3f4b0

Please sign in to comment.