View Issue Details

IDProjectCategoryView StatusLast Update
0001681XdebugStep Debuggingpublic2020-03-12 16:43
Reporterkrakjoe Assigned To 
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status resolvedResolutionduplicate 
Summary0001681: Reduce cost of getpid() syscall to once per request/thread/process
Description

getpid() is expensive, and should only be called once per request

Original PR: https://github.com/xdebug/xdebug/pull/487, by Joe Watkins

TagsNo tags attached.
Operating System
PHP Version7.3.5-7.3.9

Relationships

duplicate of 0001755 closedderick Overload pcntl_fork() to prevent performance degradation by calling xdebug_get_pid often 
related to 0001687 closedderick Use appropriate process ID for logging and "is this the right process" tracking 

Activities

derick

2020-03-12 16:27

administrator   ~0005292

Duplicate of 0001755, which has a much more elegant solution that doesn't rely on pthreads.