Run Report
Run #69cd1d69f2067: 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_rules14 0.5% 1,094 0.1% 2,000 0.2% 84,064 0.3% 36,648 0.1%
Exclusive Metrics for Current Function397 36.3% 1,000 50.0% 4,608 5.5% 13,816 37.7%
Parent functions
WP_Rewrite::rewrite_rules13 92.9% 1,036 94.7% 2,000 100.0% 77,760 92.5% 30,872 84.2%
WP_Rewrite::page_rewrite_rules1 7.1% 58 5.3% 0 0.0% 6,304 7.5% 5,776 15.8%
Child functions
get_option33 5.3% 404 36.9% 1,000 50.0% 552 0.7% 1,592 4.3%
get_post_types12 1.9% 107 9.8% 0 0.0% 8,904 10.6% 6,624 18.1%
str_contains190 30.6% 38 3.5% 0 0.0% 552 0.7% 0 0.0%
str_replace48 7.7% 32 2.9% 0 0.0% 2,376 2.8% 760 2.1%
WP_Rewrite::preg_index125 20.1% 32 2.9% 0 0.0% 10,568 12.6% 392 1.1%
array_merge75 12.1% 30 2.7% 0 0.0% 32,768 39.0% 6,040 16.5%
preg_match_all30 4.8% 16 1.5% 0 0.0% 13,112 15.6% 3,440 9.4%
is_post_type_hierarchical4 0.6% 13 1.2% 0 0.0% 2,400 2.9% 0 0.0%
trim28 4.5% 8 0.7% 0 0.0% 1,312 1.6% 392 1.1%
preg_replace14 2.3% 5 0.5% 0 0.0% 824 1.0% 616 1.7%
substr14 2.3% 3 0.3% 0 0.0% 912 1.1% 552 1.5%
explode12 1.9% 3 0.3% 0 0.0% 3,248 3.9% 736 2.0%
ltrim16 2.6% 3 0.3% 0 0.0% 552 0.7% 552 1.5%
strpos14 2.3% 2 0.2% 0 0.0% 552 0.7% 552 1.5%
rtrim6 1.0% 1 0.1% 0 0.0% 824 1.0% 584 1.6%