r2 - 08 Feb 2006 - 10:01:26 - LisaDusseaultYou are here: OSAF >  Journal Web  >  DevelopmentHome > PerformanceProject > ViewSwitchingPerformance20040810

Chandler View Switching Performance

(JedBurgess, 10 August 2004)

I am beginning to look into the performance of switching views within Chandler. I will be writing up a more detailed review today, but here are the hotshot numbers for switching views.

Top expensive methods...

         115718 function calls (109738 primitive calls) in 7.118 CPU seconds

   Ordered by: internal time, call count
   List reduced from 474 to 20 due to restriction <20>

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
5328/4840    0.643    0.000    1.837    0.000 item.py:444(getAttributeValue)
6451/6211    0.333    0.000    0.544    0.000 item.py:138(__setattr__)
      862    0.287    0.000    1.296    0.002 dbcontainer.py:446(readName)
     6580    0.224    0.000    0.376    0.000 threadlocal.py:39(_getCurrentThreadLoca
ls)
     4118    0.211    0.000    0.553    0.000 xmlrepository.py:494(_getTxn)
       41    0.185    0.005    4.889    0.119 libxml2.py:4680(parseChunk)
     5653    0.170    0.000    0.170    0.000 item.py:2271(_countAccess)
     1085    0.162    0.000    1.614    0.001 itemhandler.py:68(endElement)
     6584    0.152    0.000    0.152    0.000 threading.py:609(currentThread)
     1125    0.141    0.000    2.921    0.003 kind.py:120(getAttribute)
     1009    0.140    0.000    0.556    0.001 xmlrepository.py:481(abortTransaction)
     1050    0.130    0.000    0.408    0.000 xmlrepository.py:461(startTransaction)
     4350    0.129    0.000    0.129    0.000 item.py:1127(hasAttributeValue)
     2323    0.125    0.000    0.211    0.000 linkedmap.py:196(get)
     2390    0.122    0.000    0.622    0.000 attribute.py:28(getAspect)
     1186    0.122    0.000    1.971    0.002 kind.py:109(resolve)
     4562    0.120    0.000    0.380    0.000 threadlocal.py:21(__getattr__)
     1059    0.100    0.000    0.365    0.000 itemref.py:855(get)
      908    0.099    0.000    1.451    0.002 xmlrefdict.py:77(resolveAlias)
2548/2332    0.097    0.000    1.151    0.000 item.py:128(__getattr__)

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
 
Open Source Applications Foundation
Except where otherwise noted, this site and its content are licensed by OSAF under an Creative Commons License, Attribution Only 3.0.
See list of page contributors for attributions.