How To Profile a PHP Script

curl 'https://site.local/?XDEBUG_TRIGGER=1'
callgrind_annotate $(ls -tr /web/tmp/cachegrind.out.* | tail -n 1) > out.txt
less out.txt
Published
28-Oct-2022
Updated
28-Oct-2022