Hi Mark,

just had a quick glance at the google-perftools documentation.

Could you provide a little more Detail in how you use it
with a python extension? Do you link against libprofiler.so
or do you use LD_PRELOAD ?

Do you do anything special other than that? Or do you
just start your python application?

Cheers,
Stephan

On Fri, Nov 21, 2008 at 7:20 PM, Mark Williams <[EMAIL PROTECTED]> wrote:
> 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
>
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to