On Wed, Jul 24, 2024 at 1:15 AM Rob Landers <rob@bottled.codes> wrote:
> Hello internals, > > Last night I went down a rabbit hole with Frankenphp: > https://github.com/dunglas/frankenphp/pull/933 > > It isn't 100% clear to me what values `ts_resource(id)` holds and if it > needs to be freed/allocated per request or per thread. The performance > impact is huge to reallocate on every request (mostly due to the global > mutex during allocation). Is anyone familiar with this and could help > reviewing the changes there? > > — Rob > Interesting results. Joe Watkins (krakjoe) would be a good person to ask, he's worked on that and he also did pthreads and parallel. But I'm not sure how active he is anymore. Gina Banyard (Girgias) or Niels Dossche (nielsdos) will probably know too. You can try to ping them in https://chat.stackoverflow.com/rooms/11/php Thanks, Peter