Matte
01-31-2009, 10:01 AM
Hey all,
Anyone knows what has happend with the dgtimer command in Maya 2009? I write my own nodes from time to time. Most of them ends up in riggs in some kind of way etc. So tend to use this functionallity to optimize them as much as can. In previous versions of maya (8.0 and 8.5), if you switch the timing on and then playback you scene with animation, you might get something like a 1 maybee 2 fps perfomance drop when playing back (not really strange since timers are running as well) compared to when the timers are off.
However, in Maya 2009 i get something like a 50 % viewport performance drop when playing back with the dgtimer running!? huh? Same hardware, same scene, only different versions of Maya. What? A note though, the animation in this scene is heavily controlled by my own nodes. But if THEY are the problem the same performance drop should occur in the previous versions of maya as well.
Now since the dgtimer command measures how long stuff takes to calculate, having realtime performance when running the timer isnt really 100% necessary, as long as all the numbers that it puts out is correct at the end. Cause those are the important ones so. I am just kinda cursious what has happend from 8.5 -> 2009 (havnt used 2008 in any large extent so i cannot comment on that one) that makes such a HUGE difference?
Could this be some kind of compiler optimization thing (I am using VS 2008)? Since most of the scenes that displays this enourmous performance drop are scenes which are heavily controlled by my own nodes. And previously i have been using VS 2003 (i think i mostly used this version to compile the binaries for maya 8.0 and 8.5). Too me it seems a little unlikely but, its the only common thing i can think of that makes sense.
/Matte
Anyone knows what has happend with the dgtimer command in Maya 2009? I write my own nodes from time to time. Most of them ends up in riggs in some kind of way etc. So tend to use this functionallity to optimize them as much as can. In previous versions of maya (8.0 and 8.5), if you switch the timing on and then playback you scene with animation, you might get something like a 1 maybee 2 fps perfomance drop when playing back (not really strange since timers are running as well) compared to when the timers are off.
However, in Maya 2009 i get something like a 50 % viewport performance drop when playing back with the dgtimer running!? huh? Same hardware, same scene, only different versions of Maya. What? A note though, the animation in this scene is heavily controlled by my own nodes. But if THEY are the problem the same performance drop should occur in the previous versions of maya as well.
Now since the dgtimer command measures how long stuff takes to calculate, having realtime performance when running the timer isnt really 100% necessary, as long as all the numbers that it puts out is correct at the end. Cause those are the important ones so. I am just kinda cursious what has happend from 8.5 -> 2009 (havnt used 2008 in any large extent so i cannot comment on that one) that makes such a HUGE difference?
Could this be some kind of compiler optimization thing (I am using VS 2008)? Since most of the scenes that displays this enourmous performance drop are scenes which are heavily controlled by my own nodes. And previously i have been using VS 2003 (i think i mostly used this version to compile the binaries for maya 8.0 and 8.5). Too me it seems a little unlikely but, its the only common thing i can think of that makes sense.
/Matte
