Update Macro Performance
The larger the number of pages affected, the longer this script will take to execute. Your experience will vary based on the CPU, memory, and disk speed of your server(s). Here are some example figures from our own quality assurance team:
Number of pages | Number of macros on the page | Number of parameters updated | Execution time |
---|---|---|---|
60 | 1 | 1 | 5.5 seconds |
72 | 1 | 4 | 8.8 seconds |
126 | 1 | 4 | 13 seconds |
126 | 1 | 1 | 13 seconds |
500 | 1 | 4 | 1 minute, 20 seconds |
1000 | 1 | 4 | 4 minutes |
1000 | 12 | 1 | 7 minutes |
1000 | 12 | 4 | 7 minutes |
As you can see, the script's execution time doesn't increase much based on the number of parameters. The primary things driving performance are the number of pages affected and the number of macros on those pages.
In short, don't worry if the script is taking a long time for a lot of pages. If you'd like to share your own real-world experience with the script, please let us know through our support portal!