Closed nene closed 4 months ago
Indeed. On my local machine running yarn generate
in Peggy3 branch is about 50% slower:
master
66 secondspeggy3
102 secondsMade two significant performance improvements:
skipTypeComputation: true
in ts-pegjs to eliminate the main culprit that's causing slowdown in that plugin.reportInfiniteRecursion
pass. Using it only in watch-mode. This ensures fast build times during development, while still getting a protection against problems reported by this rule from the CI build.
Some fiddling was needed to keep the custom import-move plugin working. But not too much hassle.
Need to measure the performance. On first glance it feels slower. But not 100% sure.