prettier-plugin-organize-imports
prettier-plugin-organize-imports copied to clipboard
Prettier much slower when using this plugin
Hi guys, I really like this plugin, however what I have noticed that it slows down prettier by quite a lot.
For example, here is with this plugin:
and without this plugin (when I remove it from plugins
in prettierrc
)
As you can see it essentially adds extra 100ms for each file, which has huge impact since we have big monorepo on our project, so this performance issue is very noticable.
Note: I also tried adding "organizeImportsSkipDestructiveCodeActions": true,
but it didn't have any impact on performance.
Additional info: "prettier": "^3.0.3", "prettier-plugin-organize-imports": "^3.2.3", OS: Windows 10
Files are written in typescript + react + emotion.