Run Report
Run #69e6179db9cdb: 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% 33,551 3.3% 26,626 2.8% 2,309,784 11.0% 2,049,264 9.7%
Exclusive Metrics for Current Function1,227 3.7% 766 2.9% -224,536 -9.7% 11,416 0.6%
Parent function
WP_Query::query16 100.0% 33,551 100.0% 26,626 100.0% 2,309,784 100.0% 2,049,264 100.0%
Child functions
_prime_post_caches3 0.3% 11,459 34.2% 7,416 27.9% 1,070,832 46.4% 1,222,000 59.6%
update_post_caches8 0.7% 3,946 11.8% 2,503 9.4% 423,336 18.3% 222,584 10.9%
update_menu_item_cache4 0.4% 3,723 11.1% 2,387 9.0% 506,280 21.9% 341,688 16.7%
wpdb::get_results8 0.7% 2,381 7.1% 4,245 15.9% 45,664 2.0% 0 0.0%
wpdb::get_col7 0.6% 2,043 6.1% 2,899 10.9% -140,832 -6.1% 0 0.0%
WP_Query::generate_cache_key16 1.4% 1,745 5.2% 2,276 8.5% 207,456 9.0% 75,600 3.7%
WP_Query::parse_query16 1.4% 1,652 4.9% 0 0.0% 146,864 6.4% 46,448 2.3%
array_map25 2.2% 1,540 4.6% 0 0.0% 35,264 1.5% 2,608 0.1%
get_option31 2.7% 536 1.6% 1,384 5.2% 848 0.0% 25,088 1.2%
apply_filters_ref_array148 13.0% 532 1.6% 1,000 3.8% 47,168 2.0% 57,504 2.8%
wpdb::prepare17 1.5% 470 1.4% 0 0.0% 24,112 1.0% 1,840 0.1%
wp_queue_posts_for_term_meta_lazyload4 0.4% 419 1.2% 0 0.0% 20,264 0.9% 0 0.0%
do_action_ref_array16 1.4% 413 1.2% 0 0.0% 15,192 0.7% 9,888 0.5%
WP_Tax_Query::get_sql15 1.3% 242 0.7% 1,000 3.8% 14,336 0.6% 10,272 0.5%
WP_Query::parse_tax_query15 1.3% 144 0.4% 0 0.0% 552 0.0% 296 0.0%
WP_Query::set_found_posts14 1.2% 130 0.4% 157 0.6% -4,168 -0.2% 0 0.0%
get_post_stati16 1.4% 128 0.4% 0 0.0% 11,632 0.5% 1,832 0.1%
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% 72 0.2% 0 0.0% 1,168 0.1% 0 0.0%
wp_cache_get16 1.4% 65 0.2% 0 0.0% 536 0.0% 0 0.0%
in_array232 20.3% 59 0.2% 0 0.0% 528 0.0% 480 0.0%
wp_cache_set15 1.3% 51 0.2% 0 0.0% 1,232 0.1% 360 0.0%
md516 1.4% 49 0.1% 0 0.0% 1,552 0.1% 0 0.0%
WP_Meta_Query::parse_query_vars16 1.4% 41 0.1% 0 0.0% 1,184 0.1% 928 0.0%
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%
addslashes_gpc15 1.3% 37 0.1% 0 0.0% 1,712 0.1% 1,712 0.1%
compact23 2.0% 29 0.1% 0 0.0% 27,992 1.2% 48 0.0%
WP_Query::parse_order16 1.4% 24 0.1% 0 0.0% 1,152 0.0% 896 0.0%
esc_sql1 0.1% 19 0.1% 0 0.0% 824 0.0% 0 0.0%
WP_Query::fill_query_vars16 1.4% 17 0.1% 0 0.0% 552 0.0% 296 0.0%
remove_all_filters16 1.4% 16 0.0% 593 2.2% 552 0.0% 552 0.0%
absint16 1.4% 13 0.0% 0 0.0% 528 0.0% 0 0.0%
str_replace16 1.4% 12 0.0% 0 0.0% 5,464 0.2% 384 0.0%
sort19 1.7% 12 0.0% 0 0.0% 2,472 0.1% 736 0.0%
implode50 4.4% 12 0.0% 0 0.0% 1,784 0.1% 264 0.0%
get_post_type_object48 4.2% 12 0.0% 0 0.0% 552 0.0% 0 0.0%
WP_Meta_Query::__construct16 1.4% 10 0.0% 0 0.0% 552 0.0% 296 0.0%
apply_filters24 2.1% 10 0.0% 0 0.0% 2,912 0.1% 480 0.0%
strtoupper16 1.4% 10 0.0% 0 0.0% 1,656 0.1% 0 0.0%
explode24 2.1% 7 0.0% 0 0.0% 5,928 0.3% 816 0.0%
str_contains16 1.4% 7 0.0% 0 0.0% 536 0.0% 0 0.0%
is_user_logged_in2 0.2% 7 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%
apply_filters@16 0.5% 4 0.0% 0 0.0% 1,184 0.1% 0 0.0%
is_numeric17 1.5% 4 0.0% 0 0.0% 536 0.0% 0 0.0%
do_action9 0.8% 4 0.0% 0 0.0% 2,472 0.1% 472 0.0%
urldecode15 1.3% 4 0.0% 0 0.0% 1,120 0.0% 576 0.0%
array_merge14 1.2% 4 0.0% 0 0.0% 536 0.0% 0 0.0%
reset8 0.7% 3 0.0% 0 0.0% 528 0.0% 0 0.0%
do_action@14 0.4% 3 0.0% 0 0.0% 1,400 0.1% 0 0.0%
wp_using_ext_object_cache11 1.0% 3 0.0% 0 0.0% 552 0.0% 0 0.0%
get_post_status_object1 0.1% 2 0.0% 0 0.0% 552 0.0% 0 0.0%
do_action@23 0.3% 1 0.0% 0 0.0% 1,184 0.1% 0 0.0%