At work our TS project with a thousand files takes 30mins on CI, incremental save takes at least 20 second. Half of the time makes the machine run out of memory.
Bucklescript can have a clean build of 1.2k files project in under 4 seconds! https://twitter.com/bobzhang1988/status/1160846763747508224
Thanks for the data point. Those aren't the same thousand files though.
If your project has a thousand source files of any programming language, it's probably time to quit and join a younger company.
One place where clean build times do matter is in the CI. Having very fast builds and tests is great for speedy deployments.
Why? Does your CI do a clean build for every test?
The compile-example is misleading. Clean build times don't really matter. Iteration times with "tsc -w" would've likely been well under a second.
The boiler-plate in the redux example could be reduced, but redux itself is extremely boilerplate-heavy when written in this explicit style. It would be interesting to see how the ReasonML typesystem gets in the way of metaprogramming.