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
Jasmine bdd very slow because it is searching too many files #282
Comments
Did you manage to solve (or work around) the problem? I got the same issue with my Ext Js test setup. |
I seem to have the same problem, but with the node_modules directory (where npm installs packages). If I delete the node_modules directory, my tests run in a couple of seconds, but with the directory there it takes more than a minute. Sometimes it times out. Seems like scanning the thousands of files in node_modules causes a problem. I've tried to configure excludes like so, but none of them seem to make any difference. Am I missing something?
|
This issue has been marked as stale because it has not been updated in 60 days. Please add a comment or this will be closed in 7 days. |
This issue was closed because it has been stalled for 7 days with no updates. |
Loading the jetty server did not take more than a few seconds. Then pointing browser to a specific file, like /src/test/index.html took no time. But then if I wanted to try the root or /src, it took more than 6 MINUTES for the browser to get anything back. After a lot of testing, I realized that in the slow case, jasmine plugin is looking through all the directories in the directory where I am running mvn jasmine:bdd. That includes huge extjs directory, the build directory created by sencha cmd, which altogether contain tens of thousands of little text files. Is there a way to tell mvn jasmine:bdd to not look at everything? It seems the sourceIncludes or jsSrcDir merely tells the program to gather the names of source files in these directories; but it doesn't mean the program won't look at all the directories. Is that true? If so, is there a way for the program to look at specific places and not, say, the extjs library directory?
The text was updated successfully, but these errors were encountered: