Run Report
Run #69236c7a97596: XHProf Run (Namespace=myapp)
Tip
Click a function name below to drill down.

Parent/Child report for wp_calculate_image_srcset [View Callgraph ]


Function NameCallsCalls%Incl. Wall Time
(microsec)
IWall%Incl. CPU
(microsecs)
ICpu%Incl.
MemUse
(bytes)
IMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%
Current Function
wp_calculate_image_srcset12 0.4% 309 0.0% 307 0.0% 23,904 0.0% 0 0.0%
Exclusive Metrics for Current Function86 27.8% 61 19.9% -9,384 -39.3% 0 N/A%
Parent functions
wp_get_attachment_image11 91.7% 243 78.6% 241 78.5% 13,752 57.5% 0 N/A%
wp_image_add_srcset_and_sizes1 8.3% 66 21.4% 66 21.5% 10,152 42.5% 0 N/A%
Child functions
wp_image_matches_ratio19 19.6% 148 47.9% 148 48.2% 14,840 62.1% 0 N/A%
wp_basename8 8.2% 19 6.1% 23 7.5% 904 3.8% 0 N/A%
wp_get_upload_dir4 4.1% 18 5.8% 19 6.2% 552 2.3% 0 N/A%
trailingslashit8 8.2% 10 3.2% 12 3.9% 1,032 4.3% 0 N/A%
_wp_get_attachment_relative_path4 4.1% 8 2.6% 9 2.9% 2,008 8.4% 0 N/A%
apply_filters16 16.5% 7 2.3% 11 3.6% 6,568 27.5% 0 N/A%
str_replace10 10.3% 5 1.6% 5 1.6% 536 2.2% 0 N/A%
is_ssl4 4.1% 2 0.6% 4 1.3% 536 2.2% 0 N/A%
preg_match4 4.1% 2 0.6% 3 1.0% 1,120 4.7% 0 N/A%
str_contains7 7.2% 2 0.6% 4 1.3% 552 2.3% 0 N/A%
apply_filters@14 4.1% 1 0.3% 4 1.3% 2,056 8.6% 0 N/A%
strpos2 2.1% 1 0.3% 1 0.3% 536 2.2% 0 N/A%
str_starts_with4 4.1% 0 0.0% 2 0.7% 552 2.3% 0 N/A%
rtrim3 3.1% 0 0.0% 1 0.3% 1,496 6.3% 0 N/A%