vite icon indicating copy to clipboard operation
vite copied to clipboard

chore: `lint` script add `concurrency` option

Open btea opened this issue 2 months ago • 4 comments

Description

https://eslint.org/docs/latest/use/command-line-interface#--concurrency

btea avatar Oct 13 '25 03:10 btea

Thanks, that has been edited.

btea avatar Oct 13 '25 08:10 btea

On my machine, it seems this change speeds up when there's no cache, but slow downs when there's a cache.

With cache: 2.007s -> 5.700s Without cache: 20.436s -> 10.826s

@bluwy Did you try with cache or without cache (delete .eslintcache)?

sapphi-red avatar Oct 14 '25 09:10 sapphi-red

On my machine, the performance is about the same with the cache parameter, and is higher without the cache. 🤔

btea avatar Oct 14 '25 13:10 btea

@bluwy Did you try with cache or without cache (delete .eslintcache)?

I was testing without cache. With cache, there's not much improvement for me, maybe 50ms faster at most.

bluwy avatar Oct 14 '25 17:10 bluwy