Skip to content

Don't send request on each keystroke. #3

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

Open
beaufortfrancois opened this issue Oct 5, 2015 · 5 comments
Open

Don't send request on each keystroke. #3

beaufortfrancois opened this issue Oct 5, 2015 · 5 comments

Comments

@beaufortfrancois
Copy link
Owner

No description provided.

@paulirish
Copy link
Contributor

Aye. here's me typing in "rail timeline"

image

might want to cancel inflight requests instead... Would need some experimenting to see if it makes any difference to the backend latency.

@beaufortfrancois
Copy link
Owner Author

I'm supposed to be doing it...


Let me have a deeper look

@beaufortfrancois
Copy link
Owner Author

So I am cancelling inflight requests.
To improve this, I've now added (32571e6) a 200ms delay before actually asking Drive to see how it feels.
https://chrome.google.com/webstore/detail/gpnikbcifngfgfcgcgfahidojdpklfia has been updated to 3.4

@paulirish
Copy link
Contributor

in some casual tests, it seems like theres more server latency with each check. my guess is raising 200 to 300 would be worth it.

@beaufortfrancois
Copy link
Owner Author

I've increased the delay to 300ms and published version 3.5 at https://chrome.google.com/webstore/detail/gpnikbcifngfgfcgcgfahidojdpklfia

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

No branches or pull requests

2 participants