Run Report
Run #69236b8226dfc: 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% 317 0.0% 319 0.0% 23,904 0.0% 0 0.0%
Exclusive Metrics for Current Function84 26.5% 68 21.3% -9,384 -39.3% 0 N/A%
Parent functions
wp_get_attachment_image11 91.7% 250 78.9% 252 79.0% 13,752 57.5% 0 N/A%
wp_image_add_srcset_and_sizes1 8.3% 67 21.1% 67 21.0% 10,152 42.5% 0 N/A%
Child functions
wp_image_matches_ratio19 19.6% 146 46.1% 144 45.1% 14,840 62.1% 0 N/A%
wp_basename8 8.2% 22 6.9% 25 7.8% 904 3.8% 0 N/A%
wp_get_upload_dir4 4.1% 20 6.3% 21 6.6% 552 2.3% 0 N/A%
trailingslashit8 8.2% 11 3.5% 13 4.1% 1,032 4.3% 0 N/A%
apply_filters16 16.5% 10 3.2% 11 3.4% 6,568 27.5% 0 N/A%
_wp_get_attachment_relative_path4 4.1% 9 2.8% 12 3.8% 2,008 8.4% 0 N/A%
is_ssl4 4.1% 4 1.3% 5 1.6% 536 2.2% 0 N/A%
preg_match4 4.1% 4 1.3% 4 1.3% 1,120 4.7% 0 N/A%
apply_filters@14 4.1% 2 0.6% 4 1.3% 2,056 8.6% 0 N/A%
str_contains7 7.2% 2 0.6% 2 0.6% 552 2.3% 0 N/A%
str_starts_with4 4.1% 1 0.3% 2 0.6% 552 2.3% 0 N/A%
strpos2 2.1% 1 0.3% 2 0.6% 536 2.2% 0 N/A%
str_replace10 10.3% 1 0.3% 5 1.6% 536 2.2% 0 N/A%
rtrim3 3.1% 0 0.0% 1 0.3% 1,496 6.3% 0 N/A%