[rt-users] RT Profiling

Jason A. Diegmueller doogles at doogles.com
Mon Oct 4 12:46:01 EDT 2004


Ok, I've now been able to successfully use Devel::DProf to profile using 
standalone_http.  For a larger ticket (that I am currently working on, and 
is still open and occasionally added to) here is what I'm facing:

Using &Debug=1 results in:
   Time to display: 27.229506

dprofpp -F (won't run without this, as I hinted at in another 
thread; not sure if it matters) results in:
Total Elapsed Time = 36.76373 Seconds
   User+System Time = 6.028711 Seconds
Exclusive Times
%Time ExclSec CumulS #Calls sec/call Csec/c  Name
  16.2   0.979  2.218  48968   0.0000 0.0000  DBIx::SearchBuilder::Record::Cacha
                                              ble::new
  14.4   0.868  4.497  14592   0.0001 0.0003  RT::Principal::HasRight
  13.7   0.830  1.363  49094   0.0000 0.0000  DBIx::SearchBuilder::Record::Cacha
                                              ble::_fetch
  13.4   0.810  1.289  74161   0.0000 0.0000  RT::Record::__Value
  13.1   0.790  4.448  49094   0.0000 0.0001  RT::Record::LoadByCols
  12.7   0.770  0.689  49094   0.0000 0.0000  DBIx::SearchBuilder::Record::Cacha
                                              ble::_gen_alternate_RecordCache_ke
                                              y
  12.2   0.740  0.506 155914   0.0000 0.0000  DBIx::SearchBuilder::Record::id
  11.9   0.720  0.777  99069   0.0000 0.0000  Cache::Simple::TimedExpiry::fetch
  11.6   0.700  3.840  49094   0.0000 0.0001  DBIx::SearchBuilder::Record::Cacha
                                              ble::LoadByCols
  10.2   0.620  0.775  74161   0.0000 0.0000  DBIx::SearchBuilder::Record::Cacha
                                              ble::__Value
  8.96   0.540  0.490  50630   0.0000 0.0000  DBIx::SearchBuilder::Record::Cacha
                                              ble::_RecordCache
  8.46   0.510  0.360  99879   0.0000 0.0000  Cache::Simple::TimedExpiry::expire
  8.29   0.500  0.531  49249   0.0000 0.0000  DBIx::SearchBuilder::Record::Cacha
                                              ble::_KeyCache
  8.13   0.490  1.279  48968   0.0000 0.0000  DBIx::SearchBuilder::Record::new
  7.96   0.480  0.377  74799   0.0000 0.0000  DBIx::SearchBuilder::Record::__Val
                                              ue

Does this tell me anything?  Where should I take this next?

perl 5.8.5
RT 3.2.2
DBIx::SearchBuilder 1.12_01 (grabbed this off of CPAN this past week, can
   try 1.11 too)

-jd



More information about the rt-users mailing list