pymel.core Versus maya.cmds
Is PyMel slower than Maya's cmds module? PyMel is an alternative to Maya's native maya.cmds. It was developed and maintained by Luma Pictures . It is open source, and lives in GitHub here: https://github.com/LumaPictures/pymel Pymel was so intuitive and successful that Autodesk has shipped with pymel alongside its maya.cmds. Today I stumbled across a discussion: https://groups.google.com/forum/#!topic/python_inside_maya/n8WUdQHhw1k Someone was asking if pymel performs as quickly as native maya.cmds. Another person referenced this article: http://www.macaronikazoo.com/?p=271 The author (Hamish McKenzie) did a comparison with his following code: import time import maya.cmds as cmd MAX = 1000 start = time.clock() for n in xrange( MAX ): cmd.ls() print 'time taken %0.3f' % (time.clock()-start) from pymel.core import ls start = time.clock() for n in xrange( MAX ): ls() #NOTE: this is using pymel’s wrapping of the ls command print 'time taken %0.3f'