Skip to content

Instantly share code, notes, and snippets.

@hugohadfield
Last active November 17, 2017 17:02
Show Gist options
  • Save hugohadfield/fa963c93dc9633d74659203d3700314c to your computer and use it in GitHub Desktop.
Save hugohadfield/fa963c93dc9633d74659203d3700314c to your computer and use it in GitHub Desktop.
Sparse/numba performance of radon transform
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hugohadfield
Copy link
Author

24093363 function calls (24039567 primitive calls) in 19.056 seconds

Ordered by: cumulative time

ncalls tottime percall cumtime percall filename:lineno(function)
1 0.000 0.000 19.056 19.056 {built-in method builtins.exec}
1 0.036 0.036 19.056 19.056 :4()
800 0.002 0.000 18.086 0.023 :153(planar_radon_transform)
821216 2.156 0.000 11.805 0.000 init.py:740(mul)
800 0.431 0.001 11.670 0.015 :32(intersect_spheres_and_plane)
204000 0.458 0.000 8.091 0.000 :16(MeetSpheres)
1237895 0.894 0.000 7.935 0.000 init.py:706(_checkOther)
800 0.089 0.000 6.296 0.008 :161()
204000 0.431 0.000 6.207 0.000 :19(generate_sphere_from_dual)
1029158 0.346 0.000 5.035 0.000 init.py:364(ne)
1029158 1.077 0.000 4.688 0.000 init.py:361(eq)
1029158 0.822 0.000 3.611 0.000 fromnumeric.py:1973(all)
1029158 0.352 0.000 2.258 0.000 {method 'all' of 'numpy.ndarray' objects}
821221 2.198 0.000 2.198 0.000 init.py:206(gmt_mult)
2792159 0.586 0.000 2.068 0.000 {built-in method builtins.isinstance}
204001 0.253 0.000 2.037 0.000 init.py:836(sub)
1444774 0.615 0.000 2.019 0.000 init.py:729(_newMV)
1029158 0.247 0.000 1.906 0.000 _methods.py:40(_all)
204000 1.377 0.000 1.703 0.000 init.py:1158(call)
1029302 1.660 0.000 1.660 0.000 {method 'reduce' of 'numpy.ufunc' objects}
1242899 0.896 0.000 1.482 0.000 abc.py:178(instancecheck)
1444774 0.807 0.000 1.404 0.000 init.py:666(init)
206403 0.467 0.000 1.034 0.000 init.py:756(rmul)
2477128 0.692 0.000 0.692 0.000 {built-in method numpy.core.multiarray.array}
6 0.000 0.000 0.622 0.104 dispatcher.py:294(_compile_for_args)
6 0.000 0.000 0.621 0.104 dispatcher.py:554(compile)
6 0.000 0.000 0.621 0.103 dispatcher.py:70(compile)
6 0.000 0.000 0.620 0.103 compiler.py:753(compile_extra)
6 0.000 0.000 0.617 0.103 compiler.py:345(compile_extra)
6 0.000 0.000 0.616 0.103 compiler.py:717(_compile_bytecode)
6 0.000 0.000 0.616 0.103 compiler.py:668(_compile_core)
6 0.000 0.000 0.615 0.103 compiler.py:229(run)
2276586 0.587 0.000 0.587 0.000 _weakrefset.py:70(contains)
1029206 0.440 0.000 0.531 0.000 numeric.py:534(asanyarray)
6 0.000 0.000 0.510 0.085 compiler.py:639(stage_nopython_backend)
6 0.000 0.000 0.510 0.085 compiler.py:588(_backend)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment