Hi all, Given SAGE's interest in optimization issues, I figured some of you might find this to be useful and could adapt it for SAGE usage. This is mostly a copy of an email I sent to the numpy list:
In the past, Arnd Baecker has made a number of very useful posts on this matter on the scipy mailing lists, and provided some nice utilities to do it. I now needed to profile some fairly complex codes prior to a big optimization push, so I went over his material and wrote a little tool to make the whole process as painless as possible. Here it is, hoping others may find it useful: http://amath.colorado.edu/faculty/fperez/python/profiling/ I'd be happy to include any improvements you are willing to share, since there's plenty of room to do better (including supporting the new cProfile module in 2.5, which is supposed to give better results for extension code, for example). Cheers, f --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---