magneto Posted June 16, 2012 Share Posted June 16, 2012 I don't just mean the total cook time but profiling each instruction, function call to see where the bottleneck is, etc. Is there a way to do this? I use print statements for debugging but printing itself is slowing things down considerably to get an accurate timing. Also is the total cook time for an operator (middle click) accurate enough to do comparisons? i.e. comparing 2 operators solely based on their cook time to see which one is faster? Thanks Quote Link to comment Share on other sites More sharing options...
Macha Posted June 17, 2012 Share Posted June 17, 2012 That may help: http://docs.python.org/library/profile.html 1 Quote Link to comment Share on other sites More sharing options...
magneto Posted June 17, 2012 Author Share Posted June 17, 2012 Thanks this should help me a little Quote Link to comment Share on other sites More sharing options...
graham Posted June 17, 2012 Share Posted June 17, 2012 Houdini 12 also has some Python hooks to the new Performance Monitor that you can also use for evaluating efficiency inside Python operators. http://www.sidefx.com/docs/houdini12.0/hom/hou/perfMon 1 Quote Link to comment Share on other sites More sharing options...
magneto Posted June 17, 2012 Author Share Posted June 17, 2012 Thanks Graham, that's pretty amazing. I hope SESI adds a similar thing to VEX/VOPs. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.