How should I intrepret these results?
For example, does this tell me that the perl stuff isn't taking any time (assuming the algorithm isn't dumb) and that to gain speedup I should pay attention to the database side, indexes and summary tables and so forth?
I wouldn't gain any speed dropping CDBI and using DBI, would I?
Is there any point optimizing the perl, when all the time seems CDBI (eg DB)?
Should I care it seems to be spending alot of time lowercasing column names Class::DBI::Column::name_lc?
Thanks for any advice.
%Time Sec. #calls sec/call F name 14.67 55.4872 2174052 0.000026 <anon>:...5.8.2/Class/DBI/Colu +mn.pm:37 9.55 36.1474 2178574 0.000017 Class::DBI::Column::name_lc 7.01 26.5282 2627968 0.000010 Class::Accessor::get 6.52 24.6642 220518 0.000112 ? <anon>:..._perl/5.8.2/Class/DB +I.pm:723 5.20 19.6819 264665 0.000074 ? Class::DBI::_init 4.97 18.7836 884369 0.000021 <anon>:...perl/5.8.2/Class/DBI +.pm:1039 4.51 17.0602 661572 0.000026 ? <anon>:...rl/5.8.2/Class/Trigg +er.pm:51 4.41 16.6713 583607 0.000029 Class::DBI::primary_column 3.62 13.6949 661572 0.000021 <anon>:.../DBI/Relationship/Ha +sA.pm:38 3.01 11.3699 583837 0.000019 Class::DBI::ColumnGrouper::pri +mary 2.82 10.6654 266945 0.000040 Class::DBI::_attribute_store 2.59 9.8148 220528 0.000045 Class::DBI::meta_info 2.55 9.6606 220524 0.000044 ? Class::DBI::_simple_bless 2.19 8.2928 361192 0.000023 Class::DBI::_attrs 1.92 7.2692 630109 0.000012 Class::DBI::ColumnGrouper::gro +up_cols 1.39 5.2500 220524 0.000024 <anon>:.../DBI/Relationship/Ha +sA.pm:46 1.36 5.1261 220524 0.000023 <anon>:.../DBI/Relationship/Ha +sA.pm:37 1.35 5.1138 220523 0.000023 <anon>:.../DBI/Relationship/Ha +sA.pm:70 1.25 4.7459 21 0.225996 DBI::st::execute 1.13 4.2896 88172 0.000049 Class::DBI::get 1.08 4.1012 264665 0.000015 <anon>:..._perl/5.8.2/Class/DB +I.pm:518 1.00 3.7662 176564 0.000021 <anon>:..._perl/5.8.2/Class/DB +I.pm:722
In reply to Using Devel::Profile output to know what to do next by water
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |