some cwm performance data

connolly@dirk:~/w3ccvs/WWW/2000/10/swap$ ls -l ~/majo-data/plan.rdf
-rw-r--r--    1 connolly www         99473 Jul 22 15:49
/home/connolly/majo-data/plan.rdf


connolly@dirk:~/w3ccvs/WWW/2000/10/swap$ python my_profiler.py
~/majo-data/plan.rdf --no
         903543 function calls (898371 primitive calls) in 61.655 CPU
seconds

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

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
       64   12.605    0.197   34.540    0.540
llyn.py:631(substituteEqualsInPlace)
      998   11.770    0.012   11.770    0.012
llyn.py:416(removeStatement)
3228/3164    7.885    0.002   57.889    0.018 llyn.py:260(add)
   471532    7.861    0.000    7.861    0.000
formula.py:614(__getitem__)
    22560    5.820    0.000    5.820    0.000 term.py:155(occurringIn)
   189701    5.596    0.000    5.596    0.000
term.py:151(substituteEquals)
   499/64    4.909    0.010   14.574    0.228 llyn.py:607(_noteNewList)
     3164    1.136    0.000   59.180    0.019
llyn.py:1316(makeStatement)
     2080    0.635    0.000    6.645    0.003 term.py:505(occurringIn)
21716/17191    0.530    0.000    0.822    0.000 llyn.py:1229(intern)
    51518    0.290    0.000    0.290    0.000
term.py:807(substituteEquals)
     2167    0.272    0.000    8.683    0.004
sax2rdf.py:318(startElementNS)
    22560    0.190    0.000    0.190    0.000
OrderedSequence.py:12(merge)
     4725    0.187    0.000    0.187    0.000
llyn.py:165(statementsMatching)
        1    0.164    0.164   61.542   61.542 expatreader.py:205(feed)
     2167    0.150    0.000    8.854    0.004
expatreader.py:317(start_element_ns)
     2167    0.128    0.000   52.243    0.024
sax2rdf.py:534(endElementNS)
     4505    0.107    0.000    0.869    0.000 llyn.py:1085(newSymbol)
     9612    0.101    0.000    0.101    0.000 string.py:181(rfind)
     4663    0.097    0.000    0.104    0.000 term.py:255(internFrag)
     6855    0.086    0.000    0.142    0.000
pyexpat.c:457(CharacterData)
     2167    0.073    0.000   52.315    0.024
expatreader.py:355(end_element_ns)     3164    0.064    0.000  
57.952    0.018 llyn.py:1344(storeQuad)
4552/4535    0.060    0.000    0.271    0.000 llyn.py:1206(symbol)
     6855    0.056    0.000    0.056    0.000 sax2rdf.py:135(characters)
      998    0.055    0.000    0.177    0.000
sax2rdf.py:158(newBlankNode)
     1442    0.055    0.000    0.095    0.000 llyn.py:1073(newLiteral)
     6501    0.055    0.000    0.055    0.000 xmlreader.py:324(get)
     6130    0.053    0.000    0.053    0.000 string.py:168(find)
     2080    0.053    0.000    6.698    0.003
term.py:490(substituteEquals)


-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/

Received on Friday, 23 July 2004 12:01:39 UTC