jaredpalmer / tsdx

Zero-config CLI for TypeScript package development
https://tsdx.io
MIT License
11.26k stars 508 forks source link

optim: only check types once #758

Closed Semesse closed 4 years ago

Semesse commented 4 years ago

Fixes https://github.com/formik/tsdx/issues/757

Change-Id: I998648be8181371ec14e23a3096dc3b4ac731957

agilgur5 commented 4 years ago

The CI runs can vary highly and some came out slower than previous CI, but in other places there was a 10-20s improvement, which is big. I'll have to run it over a few times locally to get a more accurate estimate since CI runners aren't quite as stable.

agilgur5 commented 4 years ago

It's roughly another 10-15% perf boost, so together with #691 it's a 20-30% perf boost! YMMV of course though

agilgur5 commented 4 years ago

@allcontributors please add @Semperia for code

allcontributors[bot] commented 4 years ago

@agilgur5

I've put up a pull request to add @Semperia! :tada: