Javascript performance issue
All  1-6  7-8

Previous
Next
 From:  Max Smirnov (SMIRNOV)
6440.7 In reply to 6440.6 
Thank you, Michael!

>>.. like move objects that the script wants to access over into the worker process so that the script can have local access to them..
Very good idea! It will really help.
I checked the performance and found that the bottleneck in my script are getStartPt and getEndPt functions (only 900 segments per second, while script can process about 1500 segments per second).
The overall performance is ~600 instances per second.
Tomorrow I will move some functions to htm file.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Max Smirnov (SMIRNOV)
6440.8 
Unbelievable!
I've got more than 10x boost!!

Normal mode:


Without 3D transformations:

EDITED: 7 Mar 2022 by SMIRNOV

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1-6  7-8