frankenphp
perf: only import os environment variables once per worker thread
#1080
Merged

perf: only import os environment variables once per worker thread #1080

dunglas merged 6 commits into php:main from cache-php-env
AlliBalliBaba
test
729175a0
Adds leaky implementation.
003268a2
Resets check.
1c267f47
AlliBalliBaba
AlliBalliBaba AlliBalliBaba changed the title perf: cache environment variables in worker mode perf: only import environment variables once per thread 1 year ago
Fixes leak.
fd58ea33
Renames to os_environment for clarity.
e67b5ad4
Also caches the env when starting the worker script.
8b468d03
AlliBalliBaba AlliBalliBaba changed the title perf: only import environment variables once per thread perf: only import os environment variables once per worker thread 1 year ago
AlliBalliBaba
AlliBalliBaba AlliBalliBaba marked this pull request as ready for review 1 year ago
withinboredom
withinboredom commented on 2024-10-10
dunglas
dunglas
withinboredom
withinboredom approved these changes on 2024-10-12
AlliBalliBaba
dunglas dunglas merged ea7a5143 into main 1 year ago
dunglas
AlliBalliBaba AlliBalliBaba deleted the cache-php-env branch 1 year ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone