Recently, I made the switch to TypeScript in my codebase. It consists of approximately 100k lines spread across hundreds of files.
Prior to the migration, my launch time was an impressive 2 seconds when using ESLint with --fix --cache. However, after implementing TypeScript (ts-node), the launch time has drastically increased to 25 seconds (20 seconds attributed solely to TypeScript).
It's important to note that this project is focused on backend development exclusively.
The current speed of 25 seconds is quite concerning and not ideal. Is this considered normal for TypeScript setups? Despite efforts to eliminate dynamic requires, the delay persists. Could a large file be the culprit behind the slow performance? How can I pinpoint the source of the slowdown?