Run Report
Run #69e66c23a26be: 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% 21,665 2.1% 22,001 2.2% 2,148,216 9.8% 2,144,864 9.7%
Exclusive Metrics for Current Function1,004 4.6% 417 1.9% -175,080 -8.2% 12,384 0.6%
Parent function
WP_Query::query13 100.0% 21,665 100.0% 22,001 100.0% 2,148,216 100.0% 2,144,864 100.0%
Child functions
_prime_post_caches9 1.1% 5,190 24.0% 5,054 23.0% 1,381,816 64.3% 1,296,848 60.5%
update_menu_item_cache4 0.5% 3,921 18.1% 3,599 16.4% 414,536 19.3% 389,688 18.2%
update_post_caches8 1.0% 3,160 14.6% 3,455 15.7% 19,896 0.9% 338,432 15.8%
WP_Query::generate_cache_key13 1.5% 1,707 7.9% 1,128 5.1% 169,272 7.9% 47,760 2.2%
WP_Query::parse_query13 1.5% 1,514 7.0% 152 0.7% 115,344 5.4% 20,416 1.0%
array_map41 4.9% 899 4.1% 137 0.6% 40,672 1.9% 0 0.0%
wp_queue_posts_for_term_meta_lazyload4 0.5% 793 3.7% 0 0.0% 16,872 0.8% 4,144 0.2%
wp_cache_get13 1.5% 787 3.6% 4,316 19.6% 10,040 0.5% 0 0.0%
get_option25 3.0% 525 2.4% 1,000 4.5% 848 0.0% 0 0.0%
wpdb::prepare14 1.7% 450 2.1% 935 4.2% 19,904 0.9% 328 0.0%
do_action_ref_array13 1.5% 364 1.7% 191 0.9% 12,080 0.6% 2,056 0.1%
apply_filters_ref_array79 9.4% 343 1.6% 1,000 4.5% 20,384 0.9% 12,312 0.6%
WP_Tax_Query::get_sql12 1.4% 221 1.0% 0 0.0% 14,336 0.7% 8,112 0.4%
WP_Query::parse_tax_query12 1.4% 127 0.6% 354 1.6% 552 0.0% 0 0.0%
WP_Query::parse_orderby12 1.4% 108 0.5% 0 0.0% 4,600 0.2% 0 0.0%
get_post_stati13 1.5% 106 0.5% 0 0.0% 9,544 0.4% 0 0.0%
get_current_user_id13 1.5% 56 0.3% 0 0.0% 1,168 0.1% 0 0.0%
in_array184 21.9% 46 0.2% 0 0.0% 528 0.0% 0 0.0%
serialize13 1.5% 45 0.2% 263 1.2% 21,776 1.0% 3,968 0.2%
md513 1.5% 38 0.2% 0 0.0% 1,360 0.1% 0 0.0%
WP_Meta_Query::parse_query_vars13 1.5% 35 0.2% 0 0.0% 1,184 0.1% 0 0.0%
addslashes_gpc12 1.4% 33 0.2% 0 0.0% 1,712 0.1% 0 0.0%
WP_Query::parse_order13 1.5% 21 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% 18 0.1% 0 0.0% 552 0.0% 0 0.0%
absint16 1.9% 15 0.1% 0 0.0% 528 0.0% 0 0.0%
sort16 1.9% 14 0.1% 0 0.0% 1,824 0.1% 0 0.0%
compact6 0.7% 12 0.1% 0 0.0% 15,328 0.7% 7,480 0.3%
str_replace13 1.5% 10 0.0% 0 0.0% 4,504 0.2% 392 0.0%
get_post_type_object39 4.6% 9 0.0% 0 0.0% 552 0.0% 0 0.0%
implode41 4.9% 9 0.0% 0 0.0% 1,208 0.1% 0 0.0%
apply_filters10 1.2% 7 0.0% 0 0.0% 536 0.0% 0 0.0%
remove_all_filters13 1.5% 7 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%
get_post_status1 0.1% 5 0.0% 0 0.0% 1,720 0.1% 0 0.0%
is_numeric14 1.7% 4 0.0% 0 0.0% 536 0.0% 0 0.0%
explode21 2.5% 4 0.0% 0 0.0% 5,064 0.2% 0 0.0%
WP_Meta_Query::__construct13 1.5% 4 0.0% 0 0.0% 552 0.0% 0 0.0%
array_merge11 1.3% 4 0.0% 0 0.0% 536 0.0% 0 0.0%
reset8 1.0% 4 0.0% 0 0.0% 528 0.0% 0 0.0%
do_action@14 0.5% 3 0.0% 0 0.0% 1,400 0.1% 0 0.0%
do_action9 1.1% 3 0.0% 0 0.0% 2,472 0.1% 544 0.0%
urldecode12 1.4% 3 0.0% 0 0.0% 976 0.0% 0 0.0%
str_contains13 1.5% 3 0.0% 0 0.0% 536 0.0% 0 0.0%
strtoupper13 1.5% 3 0.0% 0 0.0% 1,368 0.1% 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% 2 0.0% 0 0.0% 536 0.0% 0 0.0%