New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deprecations rule extremely slow #10
Comments
Yeah, I can think of a few ways to make it more performant. Thanks for raising this. |
This should be a little quicker in |
Confirmed! From 31.7% && 38.0% down to 23.4% && 26.7%
|
Hmm. Still pretty shitty. Hopefully, this can be made faster still using ESLint's variables thingy, but that's a little more complicated. I'll have a look a little later. |
I've had some time to play around with this a bit. Try |
Looking good: only 9.7% && 6.7%!
|
Nice. Now that some other rule is at the top of the list, I'm going to deem this no-longer-a-bug. There are some other things I might play with, at some later stage, so I'll leave this open, but labelled as an enhancement. |
yes, agree! |
FWIW,
(on certain uncached runs, And this was on a recent
|
Over two different projects in https://github.com/sourcegraph/sourcegraph
etc/deprecation
took by far the most of the time, it feels likely there might be potential for a speed-up.The text was updated successfully, but these errors were encountered: