Returns the folded sampling call tree for the current request as a struct: { sampleCount, root }. Each node has function, template, line, self, total, selfPercent, totalPercent, and a children array. The data comes from the FusionReactor-style threshold-gated sampling profiler, which snapshots the CFML call stack on an interval for requests that run longer than the configured threshold.
getRequestProfile()
→ returns struct
Show the sampled profile of the current request.
profile = getRequestProfile();
writeDump( profile );
Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.