Alex Mohr wrote:
I am aware that oprofile and valgrind exist.
Has anyone of you ever done profiling
a C or C++ extension with gprof?
Not me, but I have to say that valgrind's callgrind tool with
kcachegrind to view the results has been perhaps the best profiling
experience I've had on Linux. I've had good success using these tools
to profile C++ python extensions.
I've had great results profiling Python extensions, too, but with
Google's profiler: http://code.google.com/p/google-perftools/
Mark
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig