qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Conway <acon...@redhat.com>
Subject Sleepy python client
Date Fri, 25 Apr 2008 22:33:05 GMT
-*- mode: compilation; default-directory: "~/svn/qpid2/python/" -*-
Compilation started at Fri Apr 25 18:29:23

./profile-tests.py --skip-self-test -s 0-10 tests_0-10.queue.QueueTests
................
----------------------------------------------------------------------
Ran 16 tests in 17.861s

OK
Fri Apr 25 18:29:41 2008    /tmp/stats

          50626 function calls (50223 primitive calls) in 17.921 CPU seconds

    Ordered by: internal time
    List reduced from 311 to 10 due to restriction <10>

    ncalls  tottime  percall  cumtime  percall filename:lineno(function)
      1075   17.396    0.016   17.396    0.016 {time.sleep}
         1    0.048    0.048    0.048    0.048 {cPickle.load}
      2225    0.048    0.000    0.048    0.000 {built-in method acquire}
        16    0.045    0.003    0.045    0.003 {thread.start_new_thread}
       397    0.025    0.000    0.084    0.000 
/home/aconway/svn/qpid2/python/qpid/spec010.py:223(encode_fields)
       153    0.022    0.000   17.469    0.114 
/usr/lib/python2.5/threading.py:206(wait)
      1846    0.022    0.000    0.022    0.000 
/usr/lib/python2.5/logging/__init__.py:1158(getEffectiveLevel)
       392    0.017    0.000    0.029    0.000 
/home/aconway/svn/qpid2/python/qpid/datatypes.py:24(__init__)
       931    0.016    0.000    0.016    0.000 {method 'send' of 
'_socket.socket' objects}
        24    0.016    0.001    0.016    0.001 {method 'write' of 'file' objects}


Fri Apr 25 18:29:41 2008    /tmp/stats

          50626 function calls (50223 primitive calls) in 17.921 CPU seconds

    Ordered by: cumulative time
    List reduced from 311 to 10 due to restriction <10>

    ncalls  tottime  percall  cumtime  percall filename:lineno(function)
         1    0.000    0.000   17.921   17.921 <string>:1(<module>)
         1    0.000    0.000   17.921   17.921 
/home/aconway/svn/qpid2/python/qpid/testlib.py:175(run)
         1    0.000    0.000   17.861   17.861 
/usr/lib/python2.5/unittest.py:701(run)
       2/1    0.000    0.000   17.861   17.861 
/usr/lib/python2.5/unittest.py:436(__call__)
       2/1    0.000    0.000   17.861   17.861 
/usr/lib/python2.5/unittest.py:429(run)
        16    0.000    0.000   17.861    1.116 
/usr/lib/python2.5/unittest.py:280(__call__)
        16    0.001    0.000   17.860    1.116 
/usr/lib/python2.5/unittest.py:245(run)
       153    0.022    0.000   17.469    0.114 
/usr/lib/python2.5/threading.py:206(wait)
      1075   17.396    0.016   17.396    0.016 {time.sleep}
         4    0.001    0.000   11.445    2.861 
/home/aconway/svn/qpid2/python/tests_0-10/queue.py:161(unbind_test)


    Ordered by: cumulative time
    List reduced from 311 to 1 due to restriction <'sleep'>

Function      was called by...
                   ncalls  tottime  cumtime
{time.sleep}  <-    1059   17.384   17.384 
/usr/lib/python2.5/threading.py:206(wait)
                       16    0.011    0.011 
/usr/lib/python2.5/threading.py:426(start)


    Ordered by: cumulative time
    List reduced from 311 to 3 due to restriction <'wait'>

Function                                              was called by...
                                                           ncalls  tottime  cumtime
/usr/lib/python2.5/threading.py:206(wait)             <-     143    0.017 
9.338  /home/aconway/svn/qpid2/python/qpid/util.py:44(wait)
                                                                8    0.005 
8.005  /usr/lib/python2.5/Queue.py:147(get)
                                                                2    0.000 
0.126  /usr/lib/python2.5/threading.py:360(wait)
/home/aconway/svn/qpid2/python/qpid/util.py:44(wait)  <-      20    0.000 
0.001  /home/aconway/svn/qpid2/python/qpid/connection.py:110(session)
                                                               16    0.001 
1.810  /home/aconway/svn/qpid2/python/qpid/connection.py:124(start)
                                                               16    0.000 
0.627  /home/aconway/svn/qpid2/python/qpid/connection.py:140(close)
                                                              104    0.003 
6.535  /home/aconway/svn/qpid2/python/qpid/session.py:90(sync)
                                                                7    0.000 
0.385  /home/aconway/svn/qpid2/python/qpid/session.py:102(close)
/usr/lib/python2.5/threading.py:360(wait)             <-       2    0.000 
0.126  /home/aconway/svn/qpid2/python/qpid/datatypes.py:167(get)


    Ordered by: cumulative time
    List reduced from 311 to 1 due to restriction <'sync'>

Function                                                 was called by...
                                                              ncalls  tottime 
cumtime
/home/aconway/svn/qpid2/python/qpid/session.py:90(sync)  <-     104    0.002 
6.596  /home/aconway/svn/qpid2/python/qpid/session.py:136(do_invoke)



Compilation finished at Fri Apr 25 18:29:41

Elapsed time 0:0:20

Mime
View raw message