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

Parent/Child report for WP_Query::get_posts [View Callgraph ]


Function NameCallsCalls%Incl. Wall Time
(microsec)
IWall%Incl. CPU
(microsecs)
ICpu%Incl.
MemUse
(bytes)
IMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%
Current Function
WP_Query::get_posts13 0.4% 23,746 1.2% 22,947 1.2% 2,149,024 7.0% 1,892,888 6.1%
Exclusive Metrics for Current Function955 4.0% 1,000 4.4% -175,080 -8.1% 3,816 0.2%
Parent function
WP_Query::query13 100.0% 23,746 100.0% 22,947 100.0% 2,149,024 100.0% 1,892,888 100.0%
Child functions
_prime_post_caches9 1.1% 5,793 24.4% 5,304 23.1% 1,381,816 64.3% 1,095,968 57.9%
update_menu_item_cache4 0.5% 4,458 18.8% 3,663 16.0% 414,536 19.3% 392,048 20.7%
update_post_caches8 1.0% 3,432 14.5% 3,826 16.7% 19,896 0.9% 332,408 17.6%
WP_Query::generate_cache_key13 1.5% 1,607 6.8% 2,392 10.4% 169,272 7.9% 31,208 1.6%
WP_Query::parse_query13 1.5% 1,499 6.3% 0 0.0% 115,344 5.4% 21,584 1.1%
apply_filters_ref_array79 9.4% 1,035 4.4% 1,000 4.4% 21,192 1.0% 0 0.0%
array_map41 4.9% 968 4.1% 0 0.0% 40,672 1.9% 0 0.0%
wp_cache_get13 1.5% 843 3.6% 4,693 20.5% 10,040 0.5% 0 0.0%
wp_queue_posts_for_term_meta_lazyload4 0.5% 797 3.4% 0 0.0% 16,872 0.8% 0 0.0%
get_option25 3.0% 559 2.4% 0 0.0% 848 0.0% 0 0.0%
wpdb::prepare14 1.7% 485 2.0% 388 1.7% 19,904 0.9% 304 0.0%
do_action_ref_array13 1.5% 341 1.4% 272 1.2% 12,080 0.6% 0 0.0%
WP_Tax_Query::get_sql12 1.4% 218 0.9% 409 1.8% 14,336 0.7% 8,112 0.4%
WP_Query::parse_tax_query12 1.4% 117 0.5% 0 0.0% 552 0.0% 0 0.0%
get_post_stati13 1.5% 113 0.5% 0 0.0% 9,544 0.4% 0 0.0%
WP_Query::parse_orderby12 1.4% 99 0.4% 0 0.0% 4,600 0.2% 0 0.0%
get_current_user_id13 1.5% 59 0.2% 0 0.0% 1,168 0.1% 0 0.0%
in_array184 21.9% 45 0.2% 0 0.0% 528 0.0% 0 0.0%
md513 1.5% 39 0.2% 0 0.0% 1,360 0.1% 0 0.0%
serialize13 1.5% 34 0.1% 0 0.0% 21,776 1.0% 208 0.0%
WP_Meta_Query::parse_query_vars13 1.5% 33 0.1% 0 0.0% 1,184 0.1% 0 0.0%
addslashes_gpc12 1.4% 27 0.1% 0 0.0% 1,712 0.1% 0 0.0%
WP_Query::parse_order13 1.5% 22 0.1% 0 0.0% 1,152 0.1% 0 0.0%
esc_sql1 0.1% 21 0.1% 0 0.0% 824 0.0% 0 0.0%
WP_Query::fill_query_vars13 1.5% 14 0.1% 0 0.0% 552 0.0% 0 0.0%
absint16 1.9% 13 0.1% 0 0.0% 528 0.0% 0 0.0%
implode41 4.9% 12 0.1% 0 0.0% 1,208 0.1% 0 0.0%
get_post_type_object39 4.6% 12 0.1% 0 0.0% 552 0.0% 0 0.0%
str_replace13 1.5% 11 0.0% 0 0.0% 4,504 0.2% 192 0.0%
sort16 1.9% 10 0.0% 0 0.0% 1,824 0.1% 0 0.0%
explode21 2.5% 7 0.0% 0 0.0% 5,064 0.2% 0 0.0%
compact6 0.7% 7 0.0% 0 0.0% 15,328 0.7% 7,040 0.4%
strtoupper13 1.5% 7 0.0% 0 0.0% 1,368 0.1% 0 0.0%
WP_Meta_Query::__construct13 1.5% 6 0.0% 0 0.0% 552 0.0% 0 0.0%
is_user_logged_in2 0.2% 6 0.0% 0 0.0% 536 0.0% 0 0.0%
remove_all_filters13 1.5% 6 0.0% 0 0.0% 552 0.0% 0 0.0%
get_post_status1 0.1% 5 0.0% 0 0.0% 1,720 0.1% 0 0.0%
array_merge11 1.3% 5 0.0% 0 0.0% 536 0.0% 0 0.0%
do_action9 1.1% 5 0.0% 0 0.0% 2,472 0.1% 0 0.0%
do_action@14 0.5% 4 0.0% 0 0.0% 1,400 0.1% 0 0.0%
urldecode12 1.4% 4 0.0% 0 0.0% 976 0.0% 0 0.0%
apply_filters10 1.2% 3 0.0% 0 0.0% 536 0.0% 0 0.0%
str_contains13 1.5% 3 0.0% 0 0.0% 536 0.0% 0 0.0%
reset8 1.0% 2 0.0% 0 0.0% 528 0.0% 0 0.0%
is_numeric14 1.7% 2 0.0% 0 0.0% 536 0.0% 0 0.0%
get_post_status_object1 0.1% 2 0.0% 0 0.0% 552 0.0% 0 0.0%
apply_filters@13 0.4% 1 0.0% 0 0.0% 536 0.0% 0 0.0%