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

Parent/Child report for WP_Rewrite::generate_rewrite_rules [View Callgraph ]


Function NameCallsCalls%Incl. Wall Time
(microsec)
IWall%Incl. CPU
(microsecs)
ICpu%Incl.
MemUse
(bytes)
IMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%
Current Function
WP_Rewrite::generate_rewrite_rules15 0.5% 1,163 0.2% 2,000 0.3% 90,440 0.4% 50,176 0.2%
Exclusive Metrics for Current Function421 36.2% 2,000 100.0% 3,696 4.1% 17,128 34.1%
Parent functions
WP_Rewrite::rewrite_rules14 93.3% 1,101 94.7% 2,000 100.0% 84,136 93.0% 44,400 88.5%
WP_Rewrite::page_rewrite_rules1 6.7% 62 5.3% 0 0.0% 6,304 7.0% 5,776 11.5%
Child functions
get_option35 5.1% 419 36.0% 0 0.0% 552 0.6% 1,856 3.7%
get_post_types13 1.9% 109 9.4% 0 0.0% 9,600 10.6% 11,008 21.9%
WP_Rewrite::preg_index136 20.0% 55 4.7% 0 0.0% 11,448 12.7% 392 0.8%
str_contains213 31.3% 45 3.9% 0 0.0% 552 0.6% 0 0.0%
str_replace52 7.6% 35 3.0% 0 0.0% 2,512 2.8% 760 1.5%
array_merge83 12.2% 22 1.9% 0 0.0% 37,000 40.9% 10,304 20.5%
preg_match_all32 4.7% 18 1.5% 0 0.0% 14,056 15.5% 3,504 7.0%
is_post_type_hierarchical5 0.7% 15 1.3% 0 0.0% 2,400 2.7% 1,240 2.5%
preg_replace15 2.2% 6 0.5% 0 0.0% 888 1.0% 616 1.2%
trim30 4.4% 5 0.4% 0 0.0% 1,360 1.5% 392 0.8%
substr15 2.2% 4 0.3% 0 0.0% 944 1.0% 552 1.1%
explode13 1.9% 3 0.3% 0 0.0% 3,464 3.8% 736 1.5%
ltrim17 2.5% 3 0.3% 0 0.0% 552 0.6% 552 1.1%
rtrim7 1.0% 2 0.2% 0 0.0% 864 1.0% 584 1.2%
strpos15 2.2% 1 0.1% 0 0.0% 552 0.6% 552 1.1%