Performance issue
Closed this issue · 0 comments
ony3000 commented
Dependency information
- prettier@2.8.4
- prettier-plugin-merge@0.2.0
Steps to reproduce
- Clone
next-tailwind-template
repository. (It currently has a dependency of prettier-plugin-merge@0.1.2) - Install dependencies.
- Run
prettier --write something
in the terminal and check the execution time displayed. - Install prettier-plugin-merge@0.2.0
- Run
prettier --write something
again in the terminal and check the execution time displayed.
The current behavior
It may vary slightly depending on the running environment, but when prettier-plugin-merge@0.2.0 was installed, it was over 100 milliseconds slower on average.
- Average execution time after installing prettier-plugin-merge@0.1.2: 622.9ms
- Average execution time after installing prettier-plugin-merge@0.2.0: 806.8ms
The expected behavior
There are no clear criteria for passing, but the faster the better.