timocov / dts-bundle-generator

A tool to generate a single bundle of dts with types tree-shaking
MIT License
762 stars 40 forks source link

9.4.1 introduced significant overhead that can cause a 4.4x slow down #322

Open timocov opened 6 months ago

timocov commented 6 months ago

FYI this fix has a significant overhead that can cause a 4.4x slow down (4.8s → 22s).

@timocov https://github.com/alex-kinokon/reprod: modify the version dts-bundle-generator to 9.4.0 to see the yarn build time to decrease from 14s to 9s.

Originally posted by @alex-kinokon in https://github.com/timocov/dts-bundle-generator/issues/318#issuecomment-2094525200