-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Slow start time #3386
Copy link
Copy link
Open
Labels
area:cliIssues with Prettier's Command Line InterfaceIssues with Prettier's Command Line Interfacetype:perfIssue with performance of PrettierIssue with performance of Prettier
Metadata
Metadata
Assignees
Labels
area:cliIssues with Prettier's Command Line InterfaceIssues with Prettier's Command Line Interfacetype:perfIssue with performance of PrettierIssue with performance of Prettier
Prettier reported "45ms" to pretty a file, but actually take ~420ms (on my machine) to complete the whole process (reported by
time prettier --write app.js).This may not be a problem when we manually use it in terminals, but can cause plugins like https://github.com/prettier/vim-prettier to have a significant delay for every save action.
Is there something we can do about it? Thanks.