Run Report
Run #69120e2e0fd01: XHProf Run (Namespace=myapp)
Tip
Click a function name below to drill down.

Parent/Child report for wpdb::prepare [View Callgraph ]


Function NameCallsCalls%Incl. Wall Time
(microsec)
IWall%Incl. CPU
(microsecs)
ICpu%Incl.
MemUse
(bytes)
IMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%
Current Function
wpdb::prepare160 3.2% 4,059 0.1% 3,011 0.1% 243,632 0.4% 33,560 0.1%
Exclusive Metrics for Current Function1,279 31.5% 0 0.0% 111,536 45.8% 6,416 19.1%
Parent functions
WP_Meta_Query::get_sql_for_clause132 82.5% 3,283 80.9% 3,011 100.0% 184,296 75.6% 0 0.0%
RankMath\Admin\Database\Query_Builder::esc_value14 8.8% 344 8.5% 0 0.0% 18,936 7.8% 12,168 36.3%
WP_Query::get_posts8 5.0% 242 6.0% 0 0.0% 11,512 4.7% 64 0.2%
wpdb::set_charset2 1.2% 76 1.9% 0 0.0% 20,368 8.4% 19,712 58.7%
call_user_func_array@11 0.6% 42 1.0% 0 0.0% 2,232 0.9% 0 0.0%
Red_Item::get_for_matched_url1 0.6% 35 0.9% 0 0.0% 2,328 1.0% 1,616 4.8%
WC_Product_Data_Store_CPT::find_matching_product_variation1 0.6% 19 0.5% 0 0.0% 2,248 0.9% 0 0.0%
WP_Post::get_instance1 0.6% 18 0.4% 0 0.0% 1,712 0.7% 0 0.0%
Child functions
wpdb::_real_escape154 6.9% 1,328 32.7% 1,000 33.2% 16,752 6.9% 13,920 41.5%
wpdb::add_placeholder_escape160 7.2% 778 19.2% 2,011 66.8% 1,768 0.7% 5,168 15.4%
preg_split160 7.2% 122 3.0% 0 0.0% 49,352 20.3% 2,064 6.2%
substr480 21.5% 116 2.9% 0 0.0% 520 0.2% 520 1.5%
preg_replace160 7.2% 99 2.4% 0 0.0% 528 0.2% 528 1.6%
str_replace320 14.3% 87 2.1% 0 0.0% 528 0.2% 528 1.6%
strpos314 14.1% 81 2.0% 0 0.0% 520 0.2% 480 1.4%
vsprintf160 7.2% 75 1.8% 0 0.0% 52,112 21.4% 1,680 5.0%
array_intersect160 7.2% 55 1.4% 0 0.0% 9,488 3.9% 1,728 5.1%
in_array163 7.3% 39 1.0% 0 0.0% 528 0.2% 528 1.6%