CEP performance issues
Hello,
I have been using the CEP engine for a little over a year now to create Premiere Pro extensions. Since the beginning, I have noticed something strange : the longer you use an extension, the slower Premiere Pro (and the extension) gets.
To circumvent this issue, what would you recommend? I tried using both CEP 6.0 and 11.0, both have the issue.
Is there a way to """reset""" the performance? I already tried to force the garbage collection, but it did not improve things.
Also, if I need to call a script function multiple times in a for loop (for example 1000x) to delete clips in Premiere Pro. Should call 1000x the script function from the front-end (JS), or should I call only once with all the information needed to process the for-loop directly inside the JSX?
And finally, instead of calling a JSX function every 500ms that takes ~10ms to complete from the JS, would you recommend using the event system?
If there are missing information in my post, don't hesitate to ask them, I'll happily post them.
