For a side project I aim to run my php application completely in memory, using PHP 5.5+ OpCache and Redis as persistent storage. Now I am using include
and file_exists()
as the two calls which possibly perform a stat call.
With a scripts like ocp.php I can check the files hits/misses. I wonder however, how could I check whether there are any stat calls made (like, file_exists()
too) and when & where they are made?
I would like to profile my deployment this way to tune any possible php configuration to run the app completely in memory.