Skip to content
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

Optimizations for Symfony/FrankenPHP #9077

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dunglas
Copy link

@dunglas dunglas commented May 31, 2024

Dump the autoloader and use opcache preloading.

cc @joanhey

@joanhey
Copy link
Contributor

joanhey commented Jun 1, 2024

The preload and optimize autoload don't have effect in Worker mode.
The change in Caddyfile will have benefits.

@dunglas
Copy link
Author

dunglas commented Jun 1, 2024

@joanhey It should have an small effect at startup, to warm the worker scripts (2x the number of CPU by default).

By the way, tweaking this setting (increasing or reducing hit) may improve performance too.

@joanhey
Copy link
Contributor

joanhey commented Jun 12, 2024

@dunglas send an small change, to rerun the CI

@dunglas dunglas changed the title Micro-optim for Symfony/FrankenPHP Optimizations for Symfony/FrankenPHP Aug 26, 2024
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.

2 participants