Run Report
Run #69120e2e0fd01: 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_srcset142 2.3% 18,510 0.6% 22,200 0.7% 476,920 0.7% 0 0.0%
Exclusive Metrics for Current Function2,226 12.0% 0 0.0% -130,264 -27.3% 0 N/A%
Parent functions
wp_get_attachment_image_srcset60 42.3% 12,380 66.9% 13,011 58.6% 380,952 79.9% 0 N/A%
wp_get_attachment_image81 57.0% 5,887 31.8% 8,991 40.5% 90,992 19.1% 0 N/A%
wp_image_add_srcset_and_sizes1 0.7% 243 1.3% 198 0.9% 4,976 1.0% 0 N/A%
Child functions
wp_image_matches_ratio879 26.0% 11,653 63.0% 15,009 67.6% 380,280 79.7% 0 N/A%
apply_filters@1324 9.6% 1,875 10.1% 3,179 14.3% 140,520 29.5% 0 N/A%
wp_get_upload_dir91 2.7% 1,263 6.8% 2,011 9.1% 552 0.1% 0 N/A%
wp_basename182 5.4% 511 2.8% 1,010 4.5% 11,024 2.3% 0 N/A%
trailingslashit182 5.4% 293 1.6% 991 4.5% 11,472 2.4% 0 N/A%
str_contains805 23.8% 194 1.0% 0 0.0% 552 0.1% 0 N/A%
_wp_get_attachment_relative_path91 2.7% 180 1.0% 0 0.0% 7,720 1.6% 0 N/A%
str_replace448 13.3% 112 0.6% 0 0.0% 536 0.1% 0 N/A%
is_ssl91 2.7% 79 0.4% 0 0.0% 536 0.1% 0 N/A%
preg_match91 2.7% 61 0.3% 0 0.0% 6,032 1.3% 0 N/A%
rtrim85 2.5% 37 0.2% 0 0.0% 46,872 9.8% 0 N/A%
str_starts_with91 2.7% 20 0.1% 0 0.0% 552 0.1% 0 N/A%
strpos20 0.6% 6 0.0% 0 0.0% 536 0.1% 0 N/A%