Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Motivation
It is imperative for people to be able to profile their pages:
- But: XHProf is very difficult to install still
Resolution
It is possible to write a profiler purely in PHP:
- kpayne.me/2013/12/24/write-your-own-code-profiler-in-php/
With that and running it as soon as possible (probably HttpKernel Middleware) we can output the same format as XHProf, just need to measure that data and push to the global "array" structure
Then can use the same JSON storage that webprofiler already uses.
Also would be good to trigger a profile with a button.
Comments
Comment #1
Fabianx CreditAttribution: Fabianx commentedComment #2
lussolucaWebprofiler has been merged with Devel.
Comment #3
willzyx CreditAttribution: willzyx commentedClosing for lack of activity. Feel free to reopen if the issue still exists