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

make indexedDB tests faster #149737

Merged
merged 1 commit into from
May 17, 2022
Merged

make indexedDB tests faster #149737

merged 1 commit into from
May 17, 2022

Conversation

sandy081
Copy link
Member

@sandy081 sandy081 commented May 17, 2022

Ref: #149712

  • remove unnecessary validations
  • group writes

Before

Screenshot 2022-05-17 at 19 09 29

After

Screenshot 2022-05-17 at 19 10 03

Cannot be made faster than above because the bottle neck is IndexedDB. Any write transaction in IndexedDB is taking ~20ms and couple of tests need at least 2-3 write transactions.

- remove unnecessary validations
- group writes
@sandy081 sandy081 self-assigned this May 17, 2022
@sandy081 sandy081 marked this pull request as ready for review May 17, 2022 17:13
@sandy081 sandy081 requested a review from JacksonKearl May 17, 2022 17:13
@vscodenpa vscodenpa added this to the May 2022 milestone May 17, 2022
@sandy081 sandy081 changed the title make tests faster make indexedDB tests faster May 17, 2022
@sandy081 sandy081 enabled auto-merge May 17, 2022 17:16
@sandy081 sandy081 merged commit 6b93dd3 into main May 17, 2022
@sandy081 sandy081 deleted the sandy081/minimum-limpet branch May 17, 2022 17:16
wannieman98 pushed a commit to wannieman98/vscode that referenced this pull request May 17, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Jul 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants