Page Performance and testing performance of features in ProteanCMS - Eonic/ProteanCMS GitHub Wiki
In the database you will find a Table called tblPerfMon.
This contains a list of log entries created during the building of a page with timings.
To trigger these being saved you request a page with
?perfmon=on
Throughout the page code there are entries like this to give us timestamps and memory usage
PerfMon.Log("Web", "GetPageHTML-Final");
These are written at the end of the page build in GetPageHTML() using
PerfMon.Write();
InitializeGlobal starts our PerfMon object.
This could also be used on JSON api requests if we desired.
Firstly we delete all contents with
delete FROM [tblPerfMon]
Then we run the page request we are interested in like /experiences/quad-biking-choice/?perfmon=on
SELECT * FROM [tblPerfMon] where path = '/experiences/quad-biking-choice/' Order by step