---
date: 2025-11-21T09:08:39+00:00
modified: 2025-11-21T09:08:39+00:00
permalink: https://kaspars.net/note/mastodon-social-115587371493786814
post_type: note
author:
  name: Kaspars
  avatar: https://reverse.kaspars.net/gravatar/avatar/92bfcd3a8c3a21a033a6484d32c25a40b113ec6891f674336081513d5c98ef76?s=96&d=mm&r=g
---

# On November 21, 2025 at 11:08

How do you profile PHPStan runs for performance issues?

It appears to be spawning a child process even if maximumNumberOfProcesses is set 1 which makes the core logic invisible to XDebug profiler.