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

docs: add tip on browser extensions to perf guide #15577

Merged
merged 3 commits into from
Jan 11, 2024

Conversation

patak-dev
Copy link
Member

Description

See https://twitter.com/patak_dev/status/1745427465617433005

Full page reload of 10k modules with dev tools opened:

4.2s - With Tampermonkey + uBlock
3.3s - Only uBlock
2.5s - No extensions
2.0s - Incognito

Without dev tools opened, Vite's dev server loads the 10k modules in 1.7 seconds on my M1 (hitting all 304). Without extensions, the difference when having dev tools opened is only ~10%

2.9s - Tampermonkey + uBlock
2.3s - Only uBlock
2.2s - No extensions
1.7s - Incognito

Add the new section at the top because it is short and it should help that more people will see it.


What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Copy link

stackblitz bot commented Jan 11, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

docs/guide/performance.md Outdated Show resolved Hide resolved
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
docs/guide/performance.md Outdated Show resolved Hide resolved
@patak-dev patak-dev added the documentation Improvements or additions to documentation label Jan 11, 2024
@patak-dev patak-dev merged commit c643a8a into main Jan 11, 2024
10 checks passed
@patak-dev patak-dev deleted the docs/perf-guide-and-extensions branch January 11, 2024 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants