Here's some of the the "gprof" output from Oprofile:

% cumulative self self total time samples samples calls T1/call T1/call name 7.27 154306.00 154306.00 core_input_filter
5.85 278523.00 124217.00 core_output_filter
5.78 401320.00 122797.00 net_time_filter
5.64 521049.00 119729.00 ap_rgetline_core
4.97 626628.00 105579.00 pcre_exec
4.37 719425.00 92797.00 match
3.87 801602.00 82177.00 ap_getword_white
3.41 873893.00 72291.00 _init
3.09 939532.00 65639.00 ap_read_request
2.86 1000314.00 60782.00 add_any_filter_handle
2.81 1060025.00 59711.00 ap_escape_logitem
2.27 1108215.00 48190.00 ap_process_http_connection
2.21 1155055.00 46840.00 ap_http_header_filter
2.15 1200695.00 45640.00 ap_get_brigade
1.80 1239009.00 38314.00 ap_byterange_filter
1.70 1275003.00 35994.00 uniq_field_values
1.61 1309195.00 34192.00 ap_update_child_status_from_indexes
1.52 1341515.00 32320.00 worker_thread
1.52 1373810.00 32295.00 ap_get_mime_headers_core
1.35 1402563.00 28753.00 regexec
1.35 1431145.00 28582.00 ap_pass_brigade
1.25 1457724.00 26579.00 ap_run_post_read_request
1.21 1483482.00 25758.00 ap_process_request
1.16 1508164.00 24682.00 ap_find_token
1.16 1532765.00 24601.00 fix_hostname
1.14 1556887.00 24122.00 ap_http_filter
1.09 1580049.00 23162.00 ap_recent_rfc822_date
1.07 1602729.00 22680.00 ap_run_create_request
1.03 1624644.00 21915.00 ap_update_child_status
0.98 1645365.00 20721.00 read_request_line
0.97 1666036.00 20671.00 core_create_req
0.96 1686333.00 20297.00 ap_content_length_filter
0.85 1704396.00 18063.00 ap_make_method_list
0.73 1719824.00 15428.00 ap_set_keepalive
0.71 1734882.00 15058.00 ap_set_content_type
0.70 1749708.00 14826.00 worker_stack_wait
0.70 1764497.00 14789.00 ap_get_remote_host
0.69 1779171.00 14674.00 worker_stack_awaken_next
0.68 1793672.00 14501.00 ap_save_brigade
0.64 1807320.00 13648.00 perform_idle_server_maintenance
0.60 1820156.00 12836.00 ap_discard_request_body
0.59 1832632.00 12476.00 send_all_header_fields
0.58 1844914.00 12282.00 ap_method_number_of
0.56 1856835.00 11921.00 ap_run_quick_handler
0.55 1868577.00 11742.00 cached_explode
0.54 1880120.00 11543.00 lookup_builtin_method
0.54 1891652.00 11532.00 ap_add_input_filter_handle
0.54 1903038.00 11386.00 ap_get_server_name
0.51 1913943.00 10905.00 ap_update_vhost_from_headers



Here's some of the annoted source for core_input_filter:

:static int core_input_filter(ap_filter_t *f, apr_bucket_brigade *b,
: ap_input_mode_t mode, apr_read_type_e block,
: apr_off_t readbytes)
42610 0.5149 :{ /* core_input_filter total: 154306 1.8647 */



: /* ### This is bad. */ 16586 0.2004 : BRIGADE_NORMALIZE(ctx->b);


65812 0.7953 : if (APR_STATUS_IS_EAGAIN(rv)) { : rv = APR_SUCCESS; : }



--
Brian Akins
Senior Systems Engineer
CNN Internet Technologies



Reply via email to