Copyright (c) 2017
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
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.
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)
Generic High Speed Train 3D Model
Speed Zombie Animated 3D Model
Hi-speed Electric Train Sapsan Siemens Velaro RUS 3D Model
Bentley Continental GT Speed Breitling Jet Team Series 2016 3D Model
4-Speed Transmission & Shifter 3D Model
Ford 4-Speed Toploader Transmission & Shifter 3D Model
More Items from author ldunham1:
ld_mirrorMe - mirror controllers, blendshapes and clusters for Maya 1.5.2 (maya script)
ld_locOnJoints for Maya 1.0.0 (maya script)
ld_createSoftCluster for Maya 0.5.0 (maya script)
Utility / External
ld_snapObjs (align tool) for Maya 1.0.0 (maya script)
ld_animToCurve for Maya 0.7.0 (maya script)
ld_animateMe (Animation Tool) for Maya 1.2.1 (maya script)
ld_selectMe (Selection Sets) for Maya 2.0.0 (maya script)