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

initial sync download way slow with over 9000 sync records #65

Closed
ayumi opened this issue Mar 30, 2017 · 0 comments
Closed

initial sync download way slow with over 9000 sync records #65

ayumi opened this issue Mar 30, 2017 · 0 comments
Labels

Comments

@ayumi
Copy link
Contributor

@ayumi ayumi commented Mar 30, 2017

our load testing sync profile "forsaken" leads to an initial download of 35+ MiB and 10,000s of records:

  1. Background downloading – seems like nothing is happening for 10–20s, browser still usable
  2. Apply records – browser freezes for 30s

this issue is for 2 because locking the browser up is very unfun. we should limit the number of sync records downloaded and applied at once, so initial sync is done in incremental groups.

@ayumi ayumi added the performance label Mar 30, 2017
@bsclifton bsclifton mentioned this issue Mar 30, 2017
4 of 4 tasks complete
ayumi added a commit to brave/browser-laptop that referenced this issue Apr 5, 2017
Auditors: @diracdeltas

Fix brave/sync#65

Also fixes Sync bookmarks tests for changed data-test-ids.

Test plan:
1. Point Sync to prod server: In `js/constants/appConfig.js` set `isProduction = true`.
2. Start Brave and join the "forsaken" Sync group.
3. It should seem to do nothing for 10s, then lock up for ~20s, then a lot of bookmarks should be synced. (Compare with 2-3 minutes of freezing previously)
(Please take care to not clear this sync profile! when you're done, just delete the userData folder.)
ayumi added a commit to brave/browser-laptop that referenced this issue Apr 5, 2017
Auditors: @diracdeltas

Fix brave/sync#65

Also fixes Sync bookmarks tests for changed data-test-ids.

Test plan:
1. Point Sync to prod server: In `js/constants/appConfig.js` set `isProduction = true`.
2. Start Brave and join the "forsaken" Sync group.
3. It should seem to do nothing for 10s, then lock up for ~20s, then a lot of bookmarks should be synced. (Compare with 2-3 minutes of freezing previously)
(Please take care to not clear this sync profile! when you're done, just delete the userData folder.)
ayumi added a commit to brave/browser-laptop that referenced this issue Apr 5, 2017
Auditors: @diracdeltas

Fix brave/sync#65

Also fixes Sync bookmarks tests for changed data-test-ids.

Test plan:
1. Point Sync to prod server: In `js/constants/appConfig.js` set `isProduction = true`.
2. Start Brave and join the "forsaken" Sync group.
3. It should seem to do nothing for 10s, then lock up for ~20s, then a lot of bookmarks should be synced. (Compare with 2-3 minutes of freezing previously)
(Please take care to not clear this sync profile! when you're done, just delete the userData folder.)
ayumi added a commit to brave/browser-laptop that referenced this issue Apr 5, 2017
Auditors: @diracdeltas

Fix brave/sync#65

Also fixes Sync bookmarks tests for changed data-test-ids.

Test plan:
1. Point Sync to prod server: In `js/constants/appConfig.js` set `isProduction = true`.
2. Start Brave and join the "forsaken" Sync group.
3. It should seem to do nothing for 10s, then lock up for ~20s, then a lot of bookmarks should be synced. (Compare with 2-3 minutes of freezing previously)
(Please take care to not clear this sync profile! when you're done, just delete the userData folder.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

1 participant
You can’t perform that action at this time.