Too slow on large projects
See original GitHub issueDescription
I am using XO and Ava in a large project. Both packages are too slow to be used. I never actually tried to let them finish. I usually give up after 10+ minutes. I first thought this might be related to globby: https://github.com/sindresorhus/globby/issues/43
As mentioned in that issue I created a test source that reproduces this issue. The glob targets a folder that exists only once.
I opened a separate issue in Ava. https://github.com/avajs/ava/issues/1418
Test Source
- https://github.com/pixelass/ava-xo-test
- https://github.com/pixelass/ava-xo-test/blob/3f9f228f279804d8634a367f5458f69ffbc7d253/one/a/b/c/d/e/f/g/h/i/j/this-is-it
Error Message & Stack Trace
nothing happens
Config
{
"xo": {
"ignores": [
"node_modules/*"
],
"rules": {
"import/no-unassigned-import": 0
}
}
}
Command-Line Arguments
{
"scripts": {
"xo": "xo --quiet './**/*.js'"
},
}
xo --quiet './**/*.js
Relevant Links
Minimal reproduction:
https://github.com/pixelass/ava-xo-test/
Environment
OS X 10.12.5 (16F73)
Node 6.11.0
Requested log:
Platform: darwin 16.6.0
xo: 0.18.2
node: 6.11.0
npm: 3.10.10
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:28 (14 by maintainers)
Top Results From Across the Web
Working with large project is slow - Visual Studio Feedback
I have a large project (about a thousand files) and VS is eating up 2 GM of RAM and then intellisense is either...
Read more >8 reasons why your digital projects are slow - Enonic
8 reasons why your digital projects are slow - and how to solve them · 1. Too much time spent on maintenance vs....
Read more >Why are large projects slow regardless of actual CPU/Ram ...
On larger projects, certain actions get slowed down majorly; specifically adding/moving/deleting/duplicating/cutting/copy+pasting plugins & ...
Read more >Awfully slow Timeline For Large Projects - TechSmith Support
My program just crashed randomly TechSmith really needs to fix this issue. My GPU is only at like 30% usage. I can't imagine...
Read more >Too slow in large projects #1418 - avajs/ava - GitHub
Description I am using XO and Ava in a large project. Both packages are too slow to be used. I never actually tried...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I discovered the main culprit. We didn’t define
quiet
as a boolean, which made the glob pattern an argument to--quiet
and not an actuall pattern, which resulted in XO using its default pattern, which is**/*
.Try changing it to:
Please close issue