Run Report
Run #69e66c2a0522e: 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,518 2.1% 20,564 2.0% 2,148,216 9.8% 2,144,864 9.7%
Exclusive Metrics for Current Function966 4.5% 0 0.0% -175,080 -8.2% 12,384 0.6%
Parent function
WP_Query::query13 100.0% 21,518 100.0% 20,564 100.0% 2,148,216 100.0% 2,144,864 100.0%
Child functions
_prime_post_caches9 1.1% 5,359 24.9% 5,213 25.4% 1,381,816 64.3% 1,296,848 60.5%
update_menu_item_cache4 0.5% 4,055 18.8% 3,547 17.2% 414,536 19.3% 389,688 18.2%
update_post_caches8 1.0% 3,088 14.4% 3,217 15.6% 19,896 0.9% 338,432 15.8%
WP_Query::generate_cache_key13 1.5% 1,585 7.4% 1,394 6.8% 169,272 7.9% 47,760 2.2%
WP_Query::parse_query13 1.5% 1,440 6.7% 357 1.7% 115,344 5.4% 20,416 1.0%
array_map41 4.9% 917 4.3% 0 0.0% 40,672 1.9% 0 0.0%
wp_queue_posts_for_term_meta_lazyload4 0.5% 800 3.7% 329 1.6% 16,872 0.8% 4,144 0.2%
wp_cache_get13 1.5% 713 3.3% 5,507 26.8% 10,040 0.5% 0 0.0%
get_option25 3.0% 519 2.4% 0 0.0% 848 0.0% 0 0.0%
wpdb::prepare14 1.7% 432 2.0% 0 0.0% 19,904 0.9% 328 0.0%
apply_filters_ref_array79 9.4% 354 1.6% 1,000 4.9% 20,384 0.9% 12,312 0.6%
do_action_ref_array13 1.5% 339 1.6% 0 0.0% 12,080 0.6% 2,056 0.1%
WP_Tax_Query::get_sql12 1.4% 211 1.0% 0 0.0% 14,336 0.7% 8,112 0.4%
WP_Query::parse_tax_query12 1.4% 118 0.5% 0 0.0% 552 0.0% 0 0.0%
get_post_stati13 1.5% 106 0.5% 0 0.0% 9,544 0.4% 0 0.0%
WP_Query::parse_orderby12 1.4% 99 0.5% 0 0.0% 4,600 0.2% 0 0.0%
get_current_user_id13 1.5% 54 0.3% 0 0.0% 1,168 0.1% 0 0.0%
in_array184 21.9% 42 0.2% 0 0.0% 528 0.0% 0 0.0%
md513 1.5% 40 0.2% 0 0.0% 1,360 0.1% 0 0.0%
serialize13 1.5% 33 0.2% 0 0.0% 21,776 1.0% 3,968 0.2%
WP_Meta_Query::parse_query_vars13 1.5% 33 0.2% 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% 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% 15 0.1% 0 0.0% 552 0.0% 0 0.0%
absint16 1.9% 14 0.1% 0 0.0% 528 0.0% 0 0.0%
get_post_type_object39 4.6% 12 0.1% 0 0.0% 552 0.0% 0 0.0%
sort16 1.9% 11 0.1% 0 0.0% 1,824 0.1% 0 0.0%
str_replace13 1.5% 10 0.0% 0 0.0% 4,504 0.2% 392 0.0%
implode41 4.9% 10 0.0% 0 0.0% 1,208 0.1% 0 0.0%
compact6 0.7% 10 0.0% 0 0.0% 15,328 0.7% 7,480 0.3%
remove_all_filters13 1.5% 8 0.0% 0 0.0% 552 0.0% 0 0.0%
WP_Meta_Query::__construct13 1.5% 7 0.0% 0 0.0% 552 0.0% 0 0.0%
get_post_status1 0.1% 7 0.0% 0 0.0% 1,720 0.1% 0 0.0%
is_user_logged_in2 0.2% 6 0.0% 0 0.0% 536 0.0% 0 0.0%
explode21 2.5% 6 0.0% 0 0.0% 5,064 0.2% 0 0.0%
do_action9 1.1% 5 0.0% 0 0.0% 2,472 0.1% 544 0.0%
urldecode12 1.4% 4 0.0% 0 0.0% 976 0.0% 0 0.0%
apply_filters10 1.2% 4 0.0% 0 0.0% 536 0.0% 0 0.0%
array_merge11 1.3% 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%
do_action@14 0.5% 2 0.0% 0 0.0% 1,400 0.1% 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%
str_contains13 1.5% 2 0.0% 0 0.0% 536 0.0% 0 0.0%
apply_filters@13 0.4% 2 0.0% 0 0.0% 536 0.0% 0 0.0%
get_post_status_object1 0.1% 1 0.0% 0 0.0% 552 0.0% 0 0.0%