Look into implementing caching to speed up formatting.
Prettier recently added caching to determine if formatting a file can be skipped. https://prettier.io/docs/en/cli.html#--cache
Look into what they are doing and determine if a similar feature can be added to csharpier.
Is that really necessary? I feel like csharpier is already bloody fast. :stuck_out_tongue:
But what if we can make it super bloody fast? It is ~22 seconds on our work main repo (13,000 files or so) without the syntax checker. If caching can drop that down to like 5 seconds that would be awesome. I'd do a quick POC first to see if it makes sense to go through with it.
My initial POC using last modified date - the 13,000 file repo can be formatted in 3 seconds if caching is used and no files have changed. 10x improvement!