Run Report
Run #69e6151c9df20: 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,301 3.3% 26,406 2.7% 2,309,784 10.8% 1,958,176 9.0%
Exclusive Metrics for Current Function1,201 3.5% 0 0.0% -224,536 -9.7% 11,416 0.6%
Parent function
WP_Query::query16 100.0% 34,301 100.0% 26,406 100.0% 2,309,784 100.0% 1,958,176 100.0%
Child functions
_prime_post_caches3 0.3% 11,832 34.5% 7,671 29.1% 1,070,832 46.4% 1,144,584 58.5%
update_post_caches8 0.7% 4,193 12.2% 2,583 9.8% 423,336 18.3% 222,584 11.4%
update_menu_item_cache4 0.4% 4,135 12.1% 1,699 6.4% 506,280 21.9% 336,976 17.2%
wpdb::get_results8 0.7% 2,112 6.2% 3,680 13.9% 45,664 2.0% 0 0.0%
wpdb::get_col7 0.6% 2,054 6.0% 4,406 16.7% -140,832 -6.1% 0 0.0%
WP_Query::generate_cache_key16 1.4% 1,737 5.1% 0 0.0% 207,456 9.0% 66,640 3.4%
WP_Query::parse_query16 1.4% 1,655 4.8% 1,237 4.7% 146,864 6.4% 46,448 2.4%
array_map25 2.2% 1,551 4.5% 108 0.4% 35,264 1.5% 2,608 0.1%
apply_filters_ref_array148 13.0% 551 1.6% 0 0.0% 47,168 2.0% 57,504 2.9%
get_option31 2.7% 547 1.6% 2,001 7.6% 848 0.0% 25,088 1.3%
wpdb::prepare17 1.5% 480 1.4% 0 0.0% 24,112 1.0% 1,840 0.1%
wp_queue_posts_for_term_meta_lazyload4 0.4% 415 1.2% 0 0.0% 20,264 0.9% 0 0.0%
do_action_ref_array16 1.4% 395 1.2% 0 0.0% 15,192 0.7% 9,888 0.5%
WP_Tax_Query::get_sql15 1.3% 255 0.7% 426 1.6% 14,336 0.6% 10,272 0.5%
WP_Query::parse_tax_query15 1.3% 149 0.4% 0 0.0% 552 0.0% 296 0.0%
get_post_stati16 1.4% 129 0.4% 0 0.0% 11,632 0.5% 1,832 0.1%
WP_Query::parse_orderby18 1.6% 115 0.3% 0 0.0% 5,416 0.2% 2,728 0.1%
WP_Query::set_found_posts14 1.2% 91 0.3% 97 0.4% -4,168 -0.2% 0 0.0%
get_current_user_id16 1.4% 73 0.2% 1,000 3.8% 1,168 0.1% 0 0.0%
wp_cache_get16 1.4% 61 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% 54 0.2% 0 0.0% 1,232 0.1% 360 0.0%
md516 1.4% 48 0.1% 0 0.0% 1,552 0.1% 0 0.0%
serialize16 1.4% 44 0.1% 0 0.0% 27,152 1.2% 8,072 0.4%
WP_Meta_Query::parse_query_vars16 1.4% 41 0.1% 1,000 3.8% 1,184 0.1% 928 0.0%
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%
sort19 1.7% 21 0.1% 0 0.0% 2,472 0.1% 736 0.0%
WP_Query::fill_query_vars16 1.4% 19 0.1% 0 0.0% 552 0.0% 296 0.0%
esc_sql1 0.1% 19 0.1% 0 0.0% 824 0.0% 0 0.0%
WP_Query::parse_order16 1.4% 18 0.1% 0 0.0% 1,152 0.0% 896 0.0%
implode50 4.4% 17 0.0% 0 0.0% 1,784 0.1% 264 0.0%
get_post_type_object48 4.2% 15 0.0% 0 0.0% 552 0.0% 0 0.0%
apply_filters24 2.1% 15 0.0% 0 0.0% 2,912 0.1% 480 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%
remove_all_filters16 1.4% 10 0.0% 0 0.0% 552 0.0% 552 0.0%
explode24 2.1% 7 0.0% 0 0.0% 5,928 0.3% 816 0.0%
is_user_logged_in2 0.2% 7 0.0% 0 0.0% 536 0.0% 0 0.0%
wp_using_ext_object_cache11 1.0% 6 0.0% 0 0.0% 552 0.0% 0 0.0%
WP_Meta_Query::__construct16 1.4% 6 0.0% 0 0.0% 552 0.0% 296 0.0%
strtoupper16 1.4% 5 0.0% 0 0.0% 1,656 0.1% 0 0.0%
do_action9 0.8% 5 0.0% 498 1.9% 2,472 0.1% 472 0.0%
get_post_status1 0.1% 5 0.0% 0 0.0% 1,720 0.1% 0 0.0%
is_numeric17 1.5% 5 0.0% 0 0.0% 536 0.0% 0 0.0%
urldecode15 1.3% 4 0.0% 0 0.0% 1,120 0.0% 576 0.0%
str_contains16 1.4% 4 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%
reset8 0.7% 2 0.0% 0 0.0% 528 0.0% 0 0.0%
get_post_status_object1 0.1% 1 0.0% 0 0.0% 552 0.0% 0 0.0%
array_merge14 1.2% 1 0.0% 0 0.0% 536 0.0% 0 0.0%
do_action@23 0.3% 1 0.0% 0 0.0% 1,184 0.1% 0 0.0%
do_action@14 0.4% 0 0.0% 0 0.0% 1,400 0.1% 0 0.0%