TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Previously, all of my code was in a single directory. I decided to organize them and created multiple sub directories and used `sourceFile.move` (tried `moveImmediately`, `moveImmediatelySync`, `moveToDirectory` as well). However, this operation seems really expensive. Without moving source files, `ts-morph` was taking 5 seconds to complete everything (which involves various property modifications, interface modifications etc). With moving, it took 10+ minutes to finish. It seems it starts really fast in the beginning, but as time goes on it becomes slower and slower. Is there any trick that I can use to speed up the process? Update: It seems it's relatively faster when using `tsx` (3 minutes). Bun and Deno took 10+ minutes.
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by shinebayar-g and has received 0 comments.