Performance in embeded / extended python

Emmanuel Astier emmanuel.astier at winwise.fr
Wed Jul 4 14:01:07 EDT 2001


On Wed, 04 Jul 2001 15:42:08 GMT, Courageous <jkraska1 at san.rr.com>
wrote:

>
>>Have someone a clue of something I could have done wrong ?
>
>If you have a C program which embeds Python, you're going to have
>to profile your C program using whatever profiling tools are available
>under your development platform.
>
>>Can't extended python be faster ?
>
>You have verified yet that it's not your C code.
>
>You may be able to profile your Python code, however. Look into the
>"profile" module.
>
>C//
>

I sure profile my C program, but the frame rate is enougth to tell
when there is a problem.

I must confess a part of the problem was in my C code.
The python can handle the 200 iterations, but 800 is too much...

As the manipulations I make on my objects are here really simple, 800
is not that hight. 
It means I can't handle more than 100 object with real
manipulations...

I was hoping some more...

Emmanuel





More information about the Python-list mailing list