This entire thing needs writing. It's only section previously was HHVM. I don't think I need to say more than that.
Profiling[edit | edit source]
If you want to find out what parts of the code take such a long time to execute, you can profile your web requests. This can be done by appending forceprofile=1 to the URL and setting the
X-Miraheze-Debug: test1.miraheze.org header.
southparkfan@cp2:~$ curl -H 'X-Miraheze-Debug: test1.miraheze.org' 'https://allthetropes.org/wiki/Main_Page?forceprofile=1' | grep '1 - main()' -A 450 | less