I’ve got a large number (10,000’s) of files I’m running through MayaPy. As each file gets brought in to process I’m setting/getting attrs, snapping with cmds.xform, creating constraints, setting keyframes, etc. Somewhat vanilla stuff.
I don’t have a lot of experience with substantial file processing. What’s the best way to speed things up? I’m not maxing out RAM, so is the CPU the only thing that would really bump up performance here? Any tips on what the “best” hardware (and methods) at this type of job would be appreciated.
Code optimization is a win, but I feel like I’m extracting blood from a stone there now. It’s just a really heavy file load.
PS I’ve looked at multithreading (Maya only uses 12% of CPU!) but that seems like a big headache to get working.
Any advice or recommendations here are appreciated!