-
-
Notifications
You must be signed in to change notification settings - Fork 203
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
Facing slowness while running JSCPD #591
Comments
Hi @Sudharshan45 |
it would be very interesting to have a bit of your hardware config @Sudharshan45 just to fast check if it's not hardware related. Oh, and out of curiosity, you're not on a hybrid development environment using Windows with WSL2? |
I'm having a similar pain-point. |
Hi @benjaminaudet, I am using MAC M1 16gb and running JSCPD for single js file containing 55k lines of code. I fixed that issue by slicing single file into multiple files |
Just realize you were doing it on one file of 55k LOC... I mean, seems logic to me, your PC was bottlenecking at some point. |
Hi kucherenko,
I am having 55,000 lines file in my repo. if we run JSCPD for that file takes more than 10 minutes. Most of the time consumes by Token generation Method name for reference (this.tokenizer.generateMaps(id, text, format, this.options); ) could please suggest solution for reduce time. Thanks in advance :)
The text was updated successfully, but these errors were encountered: