ony3000/prettier-plugin-merge

Performance issue

Closed this issue · 0 comments

Dependency information

  • prettier@2.8.4
  • prettier-plugin-merge@0.2.0

Steps to reproduce

  1. Clone next-tailwind-template repository. (It currently has a dependency of prettier-plugin-merge@0.1.2)
  2. Install dependencies.
  3. Run prettier --write something in the terminal and check the execution time displayed.
  4. Install prettier-plugin-merge@0.2.0
  5. 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
    prettier-plugin-merge@0.1.2
  • Average execution time after installing prettier-plugin-merge@0.2.0: 806.8ms
    prettier-plugin-merge@0.2.0

The expected behavior

There are no clear criteria for passing, but the faster the better.