Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upSpeed issues [enhancement] #43
Comments
This comment has been minimized.
This comment has been minimized.
|
After investigating, there are two main places where time is spent:
The rest of the steps only take a trivial <20ms amount of time. We could speed things up a lot by using the PR welcome – I don't have time for this right at the moment. |
feross
added a commit
that referenced
this issue
Feb 26, 2015
This comment has been minimized.
This comment has been minimized.
|
I'll dig into that when I have some free time, maybe I can do something ... |
This comment has been minimized.
This comment has been minimized.
|
eh, first try at using eslint directly... WIP |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
pbrinkmeier
changed the title
Speed issues
Speed issues [enhancement]
Feb 27, 2015
This comment has been minimized.
This comment has been minimized.
|
@reg4in yeah probably... but maybe it makes sense to create an Once the eslint rules from #45 are in, I'd guess we would want remove jscs and gain the speed benefits of using eslint directly. The branch could focus on that end state. Thoughts, @feross? Or should we redirect our efforts to creating the missing eslint rules instead? :) |
This comment has been minimized.
This comment has been minimized.
|
I'd totally be in |
This comment has been minimized.
This comment has been minimized.
|
@Flet Either approach is fine. I just added you as a collaborator on the repo. |
This comment has been minimized.
This comment has been minimized.
|
Thanks for the first attempt code, @Flet – it was very helpful. I just pushed a branch (speed), which improves performance of
I also remove Linting feross/standard:
Linting npm/npm:
|
feross
added a commit
that referenced
this issue
Mar 19, 2015
This comment has been minimized.
This comment has been minimized.
|
Sweet! I was just thinking of returning to this with the eslint rule movement :) Amazing what a few dollars does! Taking a gander at the branch now. |
This comment has been minimized.
This comment has been minimized.
|
Wow, so much cruft gone now! Also should be easier to use |
This comment has been minimized.
This comment has been minimized.
|
I take full blame for the sync stuff |
This comment has been minimized.
This comment has been minimized.
|
Hah, no worries. I'm still doing a bit more cleanup to make the api nicer for programmatic use :) |
feross
self-assigned this
Mar 19, 2015
This comment has been minimized.
This comment has been minimized.
|
Okay! New, cleaned up node.js apis are available on the Deleted around 200 lines total, increased speed 2-4x, and it's way clearer how everything works now! |
This comment has been minimized.
This comment has been minimized.
|
nice one! |
feross
added a commit
that referenced
this issue
Mar 23, 2015
This comment has been minimized.
This comment has been minimized.
millermedeiros
commented
Mar 24, 2015
This comment has been minimized.
This comment has been minimized.
|
Ah, handy! Wish I knew about In any case, we've removed |
This comment has been minimized.
This comment has been minimized.
|
This is released as 3.3.0. |
feross
closed this
in
306cadf
Mar 26, 2015
feross
added a commit
that referenced
this issue
Mar 26, 2015
This comment has been minimized.
This comment has been minimized.
|
nice! good job! |
pbrinkmeier commentedFeb 26, 2015
First of all, I like the style of standard and I use it in all projects I started lately.
Buuuut, it always takes several seconds to test a single file in my test directory even if it only requires small files. My test file is about 150 LOC, the source is in this case even smaller.
Maybe this is an issue not with standard it self but with one of it's dependencies ... this is really interrupting my workflow.
standard@2.7.3
Intel Core i5, 4 Gigs RAM, Ubuntu 14.04