Equalizer icon indicating copy to clipboard operation
Equalizer copied to clipboard

Would lowering the throttle update affect performance?

Open o-l-e opened this issue 12 years ago • 1 comments

Very nice plugin, been looking around for this kind of thing.

I have one question, and be aware that i am no expert on javascript: Would lowering the number on the speed on line 52 (100) affect performance? I tried tinkering with it by setting it to 10 to reduce the visual delay of the changing columns height when resizing the browser.

Now i know it is there for a good reason, and i can only guess it is there to prevent the resize event to fire to often? But, i still had to ask :)

Thanks in advance.

o-l-e avatar Oct 11 '13 06:10 o-l-e

Hi @o-l-e!

Yes, it would affect performance, and may affect certain browsers more than others. I haven't tested this in a while, so I can't say exactly which browsers.

So, 10 is a bit low. I just looked this up and it looks like Mozilla has some sample code with it being set to 66 to obtain 15 fps.

Mottie avatar Oct 11 '13 14:10 Mottie