python-deltasigma icon indicating copy to clipboard operation
python-deltasigma copied to clipboard

Add timing test script and change imports to work.

Open schodge opened this issue 10 years ago • 1 comments

schodge avatar Aug 14 '14 00:08 schodge

Just added a second script for profiling - here are the main pain points:

         3685041 function calls (3654276 primitive calls) in 20.298 seconds

   Ordered by: internal time
   List reduced from 1043 to 25 due to restriction <25>

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
        6   15.244    2.541   15.244    2.541 {llvmpy._api.llvm.ExecutionEngine.getPointerToFunction}
      3/1    0.691    0.230   20.274   20.274 C:\Anaconda\lib\site-packages\numba\dispatcher.py:122(_compile_and_call)
        3    0.425    0.142    0.425    0.142 {llvmpy._api.llvm.PassManager.run}
   158983    0.370    0.000    0.751    0.000 {llvmpy._capsule.wrap}
    36332    0.293    0.000    0.399    0.000 {llvmpy._capsule.downcast}
    55079    0.267    0.000    1.023    0.000 C:\Anaconda\lib\site-packages\llvm\core.py:2084(build)
   139272    0.186    0.000    0.414    0.000 C:\Anaconda\lib\weakref.py:98(__setitem__)
   141426    0.140    0.000    0.227    0.000 {llvmpy._capsule.unwrap}
    94023    0.137    0.000    0.151    0.000 C:\Anaconda\lib\site-packages\llvmpy\capsule.py:179(__del__)

schodge avatar Aug 14 '14 01:08 schodge