[SciPy-user] profiling

Andrew Straw strawman@astraw....
Mon Jan 19 22:08:03 CST 2009

It's a pity I can't find this written up any better, but use
lsprofcalltree.py to convert the results from cProfile to kcachegrind.
Here's a howto for another project which is somewhat relevant,
especially the patch to the 'if __name__ == "__main__":' section to show
you how to use it:


You'll have to download lsprofcalltree from somewhere, but I highly
recommend this approach.


Gideon Simpson wrote:
> Are there any simple tools, built into SciPy or elsewhere, for  
> profiling scripts?  I'd like to be able to identify bottlenecks.
> -gideon
> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user

More information about the SciPy-user mailing list