lstat64 or stat is not a slow system call. On most enterprise system it takes 0.000024 seconds. The issue is that when you have a software system which uses a lot of includes you could have ~10000 calls for a simple page.
Just take a look at the strace Continue reading “PHP include and lstat64”