Run Report
Run #69e61714388e2: 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_srcset7 0.2% 764 0.0% 0 0.0% 53,272 0.2% 0 0.0%
Exclusive Metrics for Current Function146 19.1% 0 N/A% 10,584 19.9% 0 N/A%
Parent functions
wp_get_attachment_image_srcset6 85.7% 762 99.7% 0 N/A% 52,088 97.8% 0 N/A%
wp_image_add_srcset_and_sizes1 14.3% 2 0.3% 0 N/A% 1,184 2.2% 0 N/A%
Child functions
wp_image_matches_ratio54 28.9% 468 61.3% 0 N/A% 23,880 44.8% 0 N/A%
wp_basename12 6.4% 45 5.9% 0 N/A% 1,400 2.6% 0 N/A%
wp_get_upload_dir6 3.2% 27 3.5% 0 N/A% 552 1.0% 0 N/A%
trailingslashit12 6.4% 21 2.7% 0 N/A% 1,176 2.2% 0 N/A%
_wp_get_attachment_relative_path6 3.2% 17 2.2% 0 N/A% 2,280 4.3% 0 N/A%
str_replace48 25.7% 12 1.6% 0 N/A% 536 1.0% 0 N/A%
apply_filters18 9.6% 8 1.0% 0 N/A% 4,440 8.3% 0 N/A%
is_ssl6 3.2% 6 0.8% 0 N/A% 536 1.0% 0 N/A%
str_starts_with6 3.2% 4 0.5% 0 N/A% 552 1.0% 0 N/A%
preg_match6 3.2% 3 0.4% 0 N/A% 872 1.6% 0 N/A%
str_contains6 3.2% 3 0.4% 0 N/A% 552 1.0% 0 N/A%
rtrim6 3.2% 3 0.4% 0 N/A% 5,144 9.7% 0 N/A%
apply_filters@11 0.5% 1 0.1% 0 N/A% 768 1.4% 0 N/A%