FrameworkBenchmarks icon indicating copy to clipboard operation
FrameworkBenchmarks copied to clipboard

Optimizations for Symfony/FrankenPHP

Open dunglas opened this issue 1 year ago • 7 comments

Dump the autoloader and use opcache preloading.

cc @joanhey

dunglas avatar May 31 '24 19:05 dunglas

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

joanhey avatar Jun 01 '24 15:06 joanhey

@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.

dunglas avatar Jun 01 '24 18:06 dunglas

@dunglas send an small change, to rerun the CI

joanhey avatar Jun 12 '24 15:06 joanhey

@joanhey do you have an idea why the CI fails?

dunglas avatar Nov 05 '24 10:11 dunglas

https://github.com/TechEmpower/FrameworkBenchmarks/actions/runs/10566789729/job/29325184156?pr=9077#step:9:9156

Perhaps was temporal, send an small change to rerun the CI again.

joanhey avatar Nov 05 '24 11:11 joanhey

@joanhey any chance to approve the workflow?

dunglas avatar Feb 14 '25 15:02 dunglas

Well, at least CI is running for you now, but Symfony/FrankenPHP failed.

msmith-techempower avatar Mar 17 '25 18:03 msmith-techempower