Once I had module resolution implemented, I decided to add a new feature: circular dependency detection—a notoriously slow task in the projects I work on.
To my surprise, it turned out to outperform all available tools. It's 12 times faster than the fastest alternative!
I didn’t do anything particularly extraordinary, other than implementing everything from scratch, including the imports parser and module resolver.
Running circular check on project with 6034 source code files and 518862 lines of code takes below 400ms while other tools needs at least 5 seconds to execute.