Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Would lowering the throttle update affect performance? #3

Open
o-l-e opened this issue Oct 11, 2013 · 1 comment
Open

Would lowering the throttle update affect performance? #3

o-l-e opened this issue Oct 11, 2013 · 1 comment

Comments

@o-l-e
Copy link

o-l-e commented Oct 11, 2013

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.

@Mottie
Copy link
Contributor

Mottie commented Oct 11, 2013

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants