paradigmxyz / flux

Graph-based LLM power tool for exploring many completions in parallel.
https://flux.paradigm.xyz
MIT License
788 stars 113 forks source link

perf: github plugin that shows bundle size diff on every PR #58

Open transmissions11 opened 1 year ago

transmissions11 commented 1 year ago

self explanatory from title — would be nice to have exact numbers/percentages on how much each PR and the deps they add contribute to bundle size to avoid bloating the app

transmissions11 commented 1 year ago

one option: https://github.com/sarthak-saxena/JSBundleSize (doesn't show diff tho)

dalechyn commented 1 year ago
transmissions11 commented 1 year ago

oo nice this looks great, @h0tw4t3r wanna PR it in?

dalechyn commented 1 year ago

oo nice this looks great, @h0tw4t3r wanna PR it in?

yeah, lemme take that.

eta 24h

dalechyn commented 1 year ago

@transmissions11, I've spent some time with implementing this, bundle-size-diff is not our choice since it's for webpack, and here we use rollup.

I've generated the bundle stats files with rollup-plugin-visualizer, but the format is different and bundle-size-diff can't eat it.

Which brings us back to the search of an action that builds a diff based on rollup-plugin-visualizer plugin.