Hi Matthew,

Thanks for the tip, I did not know python had such profiler classes in 
the main package. I'm a bit confused though how to profile a scripted 
plugin command in Maya. I can't really call the doIt function, can I?

Cheers,
Szabolcs


Matthew Chapman wrote:
> A good way to monitor code performance is pythons profiler.
>
> http://www.python.org/doc/2.5.2/lib/node794.html
>
> I was working on a mo-cap stabilizer and I used it, I was able to move 
> calls around and get almost double my performance. It does timings and 
> counts for each function call.


--~--~---------~--~----~------------~-------~--~----~
Yours,
Maya-Python Club Team.
-~----------~----~----~----~------~----~------~--~---

Reply via email to