How We Halved the Cost of Profiling a PHP Function Call
We rebuilt the hot path of the Perfbase PHP extension: profiled calls cost about half what they did, collecting a trace is 2–2.5x faster, idle cost dropped on PHP 8.3+, and SQL, URLs and credentials are redacted before data leaves the process.