Adverti horiz upsell

mel + python speed profiler for Maya 1.0.0 (maya script)

Compare the speeds between mel and python scripts

License
Button download
126 Downloads

Compatibility

  • 2011

Operating Systems

  • Windows

History

Created:08/18/2011
Last Modified:08/18/2011
File Size: 2.92 KB
Modified version of David Lightbown's "dlUtils_Profiler" script which compares the speed between two mel scripts (useful for heavy scripts) www.davidlightbown.com

Simple modification to also compare the speed between two python scripts and between a python and mel script (not perfect but it gives a good idea).
I find it really handy optimizing scripts and rigs.


Usage:
Put script in script directory and call with -
dlUtils_ProfilerLD ( 2, "pyScript", "melScript", 3 ) ;

(where "2" represents the mode to run in (eg: 0 = mel + mel, 1 = python + python, 2 = python + mel))

("pyScript" is the function name of the python script - no brackets)
("melScript" is the proc name of the mel script)

("3" is iterations - amount of times to run each script, more iterations = more accurate results)
 

 

Please use the Bug System to report any bugs.
Please use the Feature Requests to give me ideas.
Please use the Support Forum if you have any questions or problems.
Please rate and review in the Review section.

People who favorited this item:

  • Yan Gang
    Yan Gang
  • Jianye Wang
    Jianye Wang