utopia icon indicating copy to clipboard operation
utopia copied to clipboard

WIP - Cache parse results

Open liady opened this issue 1 year ago • 3 comments

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)

liady avatar May 09 '24 17:05 liady

Try me

github-actions[bot] avatar May 09 '24 17:05 github-actions[bot]

#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

relativeci[bot] avatar May 09 '24 18:05 relativeci[bot]

Performance test results: (Chart1)
(Chart2)

github-actions[bot] avatar May 09 '24 18:05 github-actions[bot]