ritz078/rollup-plugin-filesize

Perf issues on CI (travis)

Closed this issue · 2 comments

Not sure what can be done to improve the situation, but when using rollup's experimentalCodeSplitting each generated chunk gets passed to this plugin (in our case its dozens of times) and this caused Travis to REALLY slow down due to too high memory usage or something.

It went from 5 minutes to 19 minutes.

For reference: ariakit/ariakit#170

The issue might be that terser is taking a lot of time in minification. I will check.