You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just ran across this searching for a way to optimize multiple instances. I tested it locally and it does seem to decrease CPU usage significantly. I typically have a page with up to 40-50 timers running.
I found out that it eats my CPU if there are about 10 instances or more.
Made a workaround like this:
Changed Line 87 to:
Runner.prototype.updating = 20;
Changed Line 132 to:
if (this.updating >= 20) {
Changed Line 133 to:
this.updating = 0;
Added on Line 154:
this.updating++;
This saves a lot of CPU Power.
Thank you for this wonderful jQuery Plugin!
The text was updated successfully, but these errors were encountered: