Run Report
Run #69e6179c501f9: 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_posts16 0.5% 34,357 3.2% 27,063 2.6% 2,309,784 11.0% 2,049,264 9.7%
Exclusive Metrics for Current Function1,232 3.6% 1,205 4.5% -224,536 -9.7% 11,416 0.6%
Parent function
WP_Query::query16 100.0% 34,357 100.0% 27,063 100.0% 2,309,784 100.0% 2,049,264 100.0%
Child functions
_prime_post_caches3 0.3% 11,711 34.1% 8,030 29.7% 1,070,832 46.4% 1,222,000 59.6%
update_post_caches8 0.7% 4,105 11.9% 3,537 13.1% 423,336 18.3% 222,584 10.9%
update_menu_item_cache4 0.4% 3,631 10.6% 2,023 7.5% 506,280 21.9% 341,688 16.7%
wpdb::get_results8 0.7% 2,458 7.2% 3,179 11.7% 45,664 2.0% 0 0.0%
wpdb::get_col7 0.6% 2,256 6.6% 3,503 12.9% -140,832 -6.1% 0 0.0%
WP_Query::generate_cache_key16 1.4% 1,770 5.2% 1,999 7.4% 207,456 9.0% 75,600 3.7%
WP_Query::parse_query16 1.4% 1,713 5.0% 1,276 4.7% 146,864 6.4% 46,448 2.3%
array_map25 2.2% 1,574 4.6% 254 0.9% 35,264 1.5% 2,608 0.1%
apply_filters_ref_array148 13.0% 543 1.6% 0 0.0% 47,168 2.0% 57,504 2.8%
get_option31 2.7% 541 1.6% 0 0.0% 848 0.0% 25,088 1.2%
wpdb::prepare17 1.5% 515 1.5% 945 3.5% 24,112 1.0% 1,840 0.1%
wp_queue_posts_for_term_meta_lazyload4 0.4% 438 1.3% 1,000 3.7% 20,264 0.9% 0 0.0%
do_action_ref_array16 1.4% 406 1.2% 0 0.0% 15,192 0.7% 9,888 0.5%
WP_Tax_Query::get_sql15 1.3% 258 0.8% 0 0.0% 14,336 0.6% 10,272 0.5%
WP_Query::parse_tax_query15 1.3% 141 0.4% 0 0.0% 552 0.0% 296 0.0%
get_post_stati16 1.4% 130 0.4% 0 0.0% 11,632 0.5% 1,832 0.1%
WP_Query::set_found_posts14 1.2% 121 0.4% 112 0.4% -4,168 -0.2% 0 0.0%
WP_Query::parse_orderby18 1.6% 117 0.3% 0 0.0% 5,416 0.2% 2,728 0.1%
get_current_user_id16 1.4% 75 0.2% 0 0.0% 1,168 0.1% 0 0.0%
wp_cache_get16 1.4% 64 0.2% 0 0.0% 536 0.0% 0 0.0%
wp_cache_set15 1.3% 57 0.2% 0 0.0% 1,232 0.1% 360 0.0%
md516 1.4% 51 0.1% 0 0.0% 1,552 0.1% 0 0.0%
WP_Meta_Query::parse_query_vars16 1.4% 46 0.1% 0 0.0% 1,184 0.1% 928 0.0%
in_array232 20.3% 46 0.1% 0 0.0% 528 0.0% 480 0.0%
addslashes_gpc15 1.3% 40 0.1% 0 0.0% 1,712 0.1% 1,712 0.1%
serialize16 1.4% 38 0.1% 0 0.0% 27,152 1.2% 8,072 0.4%
wp_list_pluck11 1.0% 38 0.1% 0 0.0% 3,264 0.1% 104 0.0%
compact23 2.0% 27 0.1% 0 0.0% 27,992 1.2% 48 0.0%
WP_Query::parse_order16 1.4% 26 0.1% 0 0.0% 1,152 0.0% 896 0.0%
esc_sql1 0.1% 21 0.1% 0 0.0% 824 0.0% 0 0.0%
WP_Query::fill_query_vars16 1.4% 18 0.1% 0 0.0% 552 0.0% 296 0.0%
get_post_type_object48 4.2% 16 0.0% 0 0.0% 552 0.0% 0 0.0%
absint16 1.4% 15 0.0% 0 0.0% 528 0.0% 0 0.0%
implode50 4.4% 12 0.0% 0 0.0% 1,784 0.1% 264 0.0%
sort19 1.7% 11 0.0% 0 0.0% 2,472 0.1% 736 0.0%
explode24 2.1% 11 0.0% 0 0.0% 5,928 0.3% 816 0.0%
str_replace16 1.4% 10 0.0% 0 0.0% 5,464 0.2% 384 0.0%
apply_filters24 2.1% 10 0.0% 0 0.0% 2,912 0.1% 480 0.0%
str_contains16 1.4% 9 0.0% 0 0.0% 536 0.0% 0 0.0%
is_user_logged_in2 0.2% 8 0.0% 0 0.0% 536 0.0% 0 0.0%
strtoupper16 1.4% 6 0.0% 0 0.0% 1,656 0.1% 0 0.0%
get_post_status1 0.1% 5 0.0% 0 0.0% 1,720 0.1% 0 0.0%
remove_all_filters16 1.4% 5 0.0% 0 0.0% 552 0.0% 552 0.0%
do_action9 0.8% 5 0.0% 0 0.0% 2,472 0.1% 472 0.0%
urldecode15 1.3% 5 0.0% 0 0.0% 1,120 0.0% 576 0.0%
wp_using_ext_object_cache11 1.0% 5 0.0% 0 0.0% 552 0.0% 0 0.0%
WP_Meta_Query::__construct16 1.4% 4 0.0% 0 0.0% 552 0.0% 296 0.0%
is_numeric17 1.5% 4 0.0% 0 0.0% 536 0.0% 0 0.0%
array_merge14 1.2% 3 0.0% 0 0.0% 536 0.0% 0 0.0%
apply_filters@16 0.5% 2 0.0% 0 0.0% 1,184 0.1% 0 0.0%
get_post_status_object1 0.1% 2 0.0% 0 0.0% 552 0.0% 0 0.0%
reset8 0.7% 1 0.0% 0 0.0% 528 0.0% 0 0.0%
do_action@14 0.4% 1 0.0% 0 0.0% 1,400 0.1% 0 0.0%
do_action@23 0.3% 0 0.0% 0 0.0% 1,184 0.1% 0 0.0%