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

WIP - Cache parse results #5657

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft

WIP - Cache parse results #5657

wants to merge 5 commits into from

Conversation

liady
Copy link
Contributor

@liady liady commented May 9, 2024

This is a work in progress to cache parseResult to reduce editor load time with large projects.

TODO:

  • Make UIDs longer/related to filename to avoid collision (since some of the results come from cache now and that might cause a collision)

Copy link
Contributor

github-actions bot commented May 9, 2024

Try me

Copy link

relativeci bot commented May 9, 2024

#12380 Bundle Size — 62.49MiB (~+0.01%).

5f0face(current) vs 6339ece master#12374(baseline)

Warning

Bundle contains 58 duplicate packages – View duplicate packages

Bundle metrics  Change 2 changes Regression 1 regression
                 Current
#12380
     Baseline
#12374
Regression  Initial JS 45.54MiB(~+0.01%) 45.54MiB
No change  Initial CSS 0B 0B
Change  Cache Invalidation 21.11% 22.21%
No change  Chunks 31 31
No change  Assets 34 34
No change  Modules 4374 4374
No change  Duplicate Modules 504 504
No change  Duplicate Code 30.83% 30.83%
No change  Packages 468 468
No change  Duplicate Packages 58 58
Bundle size by type  Change 2 changes Regression 1 regression Improvement 1 improvement
                 Current
#12380
     Baseline
#12374
Regression  JS 62.48MiB (~+0.01%) 62.47MiB
Improvement  HTML 10.94KiB (-0.34%) 10.97KiB

Bundle analysis reportBranch feat/cache-parseProject dashboard

Copy link
Contributor

github-actions bot commented May 9, 2024

Performance test results:
(Chart1)
(Chart2)

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

Successfully merging this pull request may close these issues.

None yet

1 participant