Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add timing test script and change imports to work. #43

Open
wants to merge 3 commits into
base: numba_tests
Choose a base branch
from

Conversation

schodge
Copy link
Contributor

@schodge schodge commented Aug 14, 2014

No description provided.

@schodge
Copy link
Contributor Author

schodge commented Aug 14, 2014

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__)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant