Run Report
Run #69cd1cb2e7314: 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_posts19 0.5% 80,564 6.7% 49,858 5.0% 6,772,624 26.5% 7,136,872 27.1%
Exclusive Metrics for Current Function1,592 2.0% 510 1.0% -217,776 -3.2% 106,352 1.5%
Parent function
WP_Query::query19 100.0% 80,564 100.0% 49,858 100.0% 6,772,624 100.0% 7,136,872 100.0%
Child functions
update_menu_item_cache9 0.7% 29,264 36.3% 13,690 27.5% 5,782,520 85.4% 4,542,248 63.6%
_prime_post_caches5 0.4% 16,644 20.7% 10,733 21.5% -895,232 -13.2% 1,029,208 14.4%
update_post_caches11 0.8% 11,228 13.9% 6,345 12.7% 867,912 12.8% 539,904 7.6%
array_map32 2.4% 4,711 5.8% 2,882 5.8% 103,240 1.5% 15,448 0.2%
wpdb::get_results9 0.7% 3,862 4.8% 4,142 8.3% 124,816 1.8% 26,344 0.4%
wpdb::get_col7 0.5% 2,700 3.4% 3,484 7.0% -104,016 -1.5% 0 0.0%
WP_Query::parse_query19 1.4% 2,396 3.0% 1,017 2.0% 588,176 8.7% 707,888 9.9%
WP_Query::generate_cache_key19 1.4% 2,382 3.0% 1,922 3.9% 247,720 3.7% 71,832 1.0%
apply_filters_ref_array151 11.4% 946 1.2% 99 0.2% 42,648 0.6% 29,176 0.4%
do_action_ref_array19 1.4% 733 0.9% 0 0.0% 20,192 0.3% 8,616 0.1%
get_option36 2.7% 715 0.9% 1,000 2.0% 848 0.0% 26,264 0.4%
wpdb::prepare21 1.6% 662 0.8% 0 0.0% 30,008 0.4% 2,112 0.0%
wp_queue_posts_for_term_meta_lazyload5 0.4% 650 0.8% 1,999 4.0% 31,112 0.5% 0 0.0%
WP_Tax_Query::get_sql19 1.4% 493 0.6% 1,000 2.0% 18,336 0.3% 2,160 0.0%
WP_Query::parse_tax_query19 1.4% 203 0.3% 0 0.0% 552 0.0% 296 0.0%
WP_Query::set_found_posts15 1.1% 193 0.2% 153 0.3% -2,904 -0.0% 0 0.0%
get_post_stati19 1.4% 191 0.2% 0 0.0% 13,720 0.2% 1,832 0.0%
WP_Query::parse_orderby21 1.6% 145 0.2% 0 0.0% 5,824 0.1% 2,728 0.0%
get_current_user_id19 1.4% 98 0.1% 0 0.0% 1,168 0.0% 0 0.0%
wp_cache_get19 1.4% 84 0.1% 0 0.0% 536 0.0% 0 0.0%
in_array283 21.4% 74 0.1% 0 0.0% 528 0.0% 480 0.0%
wp_cache_set16 1.2% 62 0.1% 0 0.0% 1,552 0.0% 360 0.0%
md519 1.4% 59 0.1% 0 0.0% 1,744 0.0% 0 0.0%
wp_list_pluck12 0.9% 50 0.1% 0 0.0% 4,856 0.1% 1,168 0.0%
addslashes_gpc17 1.3% 48 0.1% 469 0.9% 1,712 0.0% 1,712 0.0%
serialize19 1.4% 47 0.1% 0 0.0% 33,040 0.5% 4,312 0.1%
WP_Meta_Query::parse_query_vars19 1.4% 44 0.1% 0 0.0% 1,184 0.0% 928 0.0%
compact24 1.8% 41 0.1% 0 0.0% 29,968 0.4% 7,432 0.1%
WP_Query::parse_order17 1.3% 29 0.0% 0 0.0% 1,152 0.0% 896 0.0%
WP_Query::fill_query_vars19 1.4% 21 0.0% 0 0.0% 552 0.0% 296 0.0%
apply_filters34 2.6% 21 0.0% 0 0.0% 3,776 0.1% 480 0.0%
sort19 1.4% 17 0.0% 0 0.0% 1,392 0.0% 736 0.0%
str_replace19 1.4% 15 0.0% 0 0.0% 6,872 0.1% 1,176 0.0%
absint14 1.1% 14 0.0% 0 0.0% 528 0.0% 0 0.0%
explode31 2.3% 14 0.0% 0 0.0% 7,512 0.1% 816 0.0%
get_post_type_object58 4.4% 13 0.0% 413 0.8% 552 0.0% 0 0.0%
strtoupper19 1.4% 11 0.0% 0 0.0% 1,880 0.0% 384 0.0%
urldecode17 1.3% 11 0.0% 0 0.0% 1,208 0.0% 576 0.0%
str_contains19 1.4% 10 0.0% 0 0.0% 536 0.0% 536 0.0%
implode55 4.2% 10 0.0% 0 0.0% 1,408 0.0% 264 0.0%
array_merge17 1.3% 9 0.0% 0 0.0% 536 0.0% 0 0.0%
is_user_logged_in2 0.2% 9 0.0% 0 0.0% 1,736 0.0% 400 0.0%
remove_all_filters19 1.4% 8 0.0% 0 0.0% 552 0.0% 552 0.0%
WP_Meta_Query::__construct19 1.4% 7 0.0% 0 0.0% 552 0.0% 296 0.0%
reset11 0.8% 7 0.0% 0 0.0% 528 0.0% 0 0.0%
is_numeric19 1.4% 7 0.0% 0 0.0% 536 0.0% 0 0.0%
do_action11 0.8% 5 0.0% 0 0.0% 2,904 0.0% 0 0.0%
wp_using_ext_object_cache12 0.9% 4 0.0% 0 0.0% 552 0.0% 0 0.0%
do_action@14 0.3% 3 0.0% 0 0.0% 1,400 0.0% 0 0.0%
do_action@24 0.3% 2 0.0% 0 0.0% 1,400 0.0% 664 0.0%
stripslashes1 0.1% 0 0.0% 0 0.0% 576 0.0% 0 0.0%