Community
Maya Forum
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

mel runs slowly in maya 2022

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
1006138663
310 Views, 4 Replies

mel runs slowly in maya 2022

I tested the same Mel code in maya2018 and maya2022 respectively. The calculation speed of maya2022 is very slow. I don't know why. In addition, I have tested many mathematical operations, and the speed of maya2022 is slower than that of maya2018

maya2018 VS maya2022.png

Tags (1)
4 REPLIES 4
Message 2 of 5
1006138663
in reply to: 1006138663

float $startTime = `timerX`;

for($i=0; $i<10000000; $i++)
{
vector $a = <<2.783479,2.783479,2.783479>>;
vector $b = <<3.783479,2.783479,1.783479>>;

float $dis = mag($a - $b) ;
}

float $endTime = `timerX`;
print ("用时 "+($endTime-$startTime)+"s") ;

Message 3 of 5
1006138663
in reply to: 1006138663

Message 4 of 5
nelsoncruz
in reply to: 1006138663

I just wanted to thank you for identifying this.  We have isolated an issue that was introduced with our in product security controller, which was introduced in Maya 2022.  We will be making changes for a future update.

 

Regards,

Nelson



Nelson Cruz
Manager, Software QA Engineering
Installation & Licensing forums | Contact product support | Autodesk AREA


Message 5 of 5
1006138663
in reply to: nelsoncruz

I tested maya2019 and maya2024 and found that the issue has been fixed, but performance issues still exist. We have many mel scripts that have become unusable due to performance issues.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report