eslint-plugin-import icon indicating copy to clipboard operation
eslint-plugin-import copied to clipboard

no-cycle performance in 2.30 is even worse than 2.27.5

Open AnnatarHe opened this issue 5 months ago • 16 comments

Hey, Is there any benchmark for the new SCC algorithm?

In a project I am maintaining, 2x more time is used compared with 2.27.5. it has 544 files project(in monorepo).

Version 2.27.5 2.30.0
Time ~40s ~80s

2.30.0

Rule                                            | Time (ms) | Relative
:-----------------------------------------------|----------:|--------:
import/no-cycle                                 | 58328.676 |    79.2%

2.27.5

Rule                                            | Time (ms) | Relative
:-----------------------------------------------|----------:|--------:
import/no-cycle                                 | 15741.654 |    45.8%

AnnatarHe avatar Sep 14 '24 15:09 AnnatarHe