Run Report
Run #69e66c36b6835: 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_posts10 0.3% 52,078 3.6% 35,507 3.2% 1,568,872 7.4% 1,589,368 7.4%
Exclusive Metrics for Current Function1,437 2.8% 645 1.8% -148,696 -9.5% 1,288 0.1%
Parent function
WP_Query::query10 100.0% 52,078 100.0% 35,507 100.0% 1,568,872 100.0% 1,589,368 100.0%
Child functions
WP_Tax_Query::get_sql10 1.6% 13,048 25.1% 5,455 15.4% 68,320 4.4% 77,304 4.9%
_prime_post_caches6 0.9% 11,597 22.3% 6,502 18.3% 781,512 49.8% 853,688 53.7%
update_post_caches6 0.9% 8,580 16.5% 6,116 17.2% 18,376 1.2% 78,368 4.9%
update_menu_item_cache4 0.6% 4,435 8.5% 3,683 10.4% 404,632 25.8% 501,936 31.6%
WP_Query::generate_cache_key10 1.6% 2,065 4.0% 3,293 9.3% 132,904 8.5% 52,960 3.3%
WP_Query::parse_query10 1.6% 1,788 3.4% 1,852 5.2% 113,448 7.2% 11,792 0.7%
array_map28 4.4% 1,621 3.1% 390 1.1% 38,744 2.5% 0 0.0%
wp_cache_get10 1.6% 1,602 3.1% 4,524 12.7% 9,040 0.6% 0 0.0%
wp_queue_posts_for_term_meta_lazyload2 0.3% 1,237 2.4% 998 2.8% 18,440 1.2% 0 0.0%
get_term_by2 0.3% 921 1.8% 1,049 3.0% 5,056 0.3% 0 0.0%
wpdb::prepare14 2.2% 797 1.5% 1,000 2.8% 20,288 1.3% 0 0.0%
get_option17 2.6% 713 1.4% 0 0.0% 848 0.1% 5,520 0.3%
apply_filters_ref_array54 8.4% 572 1.1% 0 0.0% 19,640 1.3% 0 0.0%
do_action_ref_array10 1.6% 469 0.9% 0 0.0% 14,280 0.9% 0 0.0%
get_post_stati14 2.2% 231 0.4% 0 0.0% 8,960 0.6% 0 0.0%
WP_Query::parse_tax_query10 1.6% 209 0.4% 0 0.0% 1,552 0.1% 0 0.0%
WP_Query::parse_orderby8 1.2% 138 0.3% 0 0.0% 4,056 0.3% 0 0.0%
get_current_user_id10 1.6% 93 0.2% 0 0.0% 1,168 0.1% 0 0.0%
esc_sql2 0.3% 84 0.2% 0 0.0% 1,200 0.1% 0 0.0%
serialize10 1.6% 41 0.1% 0 0.0% 17,424 1.1% 1,016 0.1%
WP_Meta_Query::parse_query_vars10 1.6% 38 0.1% 0 0.0% 1,184 0.1% 0 0.0%
addslashes_gpc8 1.2% 37 0.1% 0 0.0% 1,712 0.1% 0 0.0%
in_array134 20.8% 35 0.1% 0 0.0% 528 0.0% 0 0.0%
md510 1.6% 32 0.1% 0 0.0% 1,168 0.1% 0 0.0%
is_user_logged_in6 0.9% 29 0.1% 0 0.0% 536 0.0% 0 0.0%
get_post_type_object36 5.6% 25 0.0% 0 0.0% 552 0.0% 0 0.0%
sort12 1.9% 23 0.0% 0 0.0% 1,392 0.1% 0 0.0%
WP_Query::parse_order8 1.2% 23 0.0% 0 0.0% 1,152 0.1% 0 0.0%
absint12 1.9% 17 0.0% 0 0.0% 528 0.0% 0 0.0%
compact4 0.6% 16 0.0% 0 0.0% 7,664 0.5% 4,792 0.3%
str_replace10 1.6% 15 0.0% 0 0.0% 4,568 0.3% 704 0.0%
WP_Query::fill_query_vars10 1.6% 15 0.0% 0 0.0% 552 0.0% 0 0.0%
implode34 5.3% 13 0.0% 0 0.0% 2,096 0.1% 0 0.0%
explode16 2.5% 13 0.0% 0 0.0% 3,984 0.3% 0 0.0%
remove_all_filters10 1.6% 9 0.0% 0 0.0% 552 0.0% 0 0.0%
do_action6 0.9% 7 0.0% 0 0.0% 1,824 0.1% 0 0.0%
strtoupper10 1.6% 7 0.0% 0 0.0% 1,176 0.1% 0 0.0%
str_contains10 1.6% 7 0.0% 0 0.0% 536 0.0% 0 0.0%
reset6 0.9% 7 0.0% 0 0.0% 528 0.0% 0 0.0%
apply_filters7 1.1% 6 0.0% 0 0.0% 536 0.0% 0 0.0%
apply_filters@13 0.5% 5 0.0% 0 0.0% 536 0.0% 0 0.0%
urldecode8 1.2% 5 0.0% 0 0.0% 816 0.1% 0 0.0%
WP_Meta_Query::__construct10 1.6% 4 0.0% 0 0.0% 552 0.0% 0 0.0%
WP_Query::set4 0.6% 4 0.0% 0 0.0% 536 0.0% 0 0.0%
is_numeric10 1.6% 3 0.0% 0 0.0% 536 0.0% 0 0.0%
array_merge8 1.2% 3 0.0% 0 0.0% 536 0.0% 0 0.0%
do_action@14 0.6% 2 0.0% 0 0.0% 1,400 0.1% 0 0.0%