Skip to content
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

Speed up eslint via built-in caching #1941

Merged
merged 2 commits into from
Oct 18, 2016

Conversation

quantizor
Copy link
Contributor

The first run will be normal speed (~7.7s on my mac), but subsequent runs were just over a second.

The first run will be normal speed (~7.7s on my mac), but
subsequent runs were just over a second.
@quantizor
Copy link
Contributor Author

@cpojer as far as raw eslint speed, I didn't see anything revealing in debug mode. Since there are many layers of .eslintrc in various directories, we can't hardcode the config location (that provides a moderate speedup.)

@codecov-io
Copy link

codecov-io commented Oct 17, 2016

Current coverage is 87.78% (diff: 100%)

Merging #1941 into master will not change coverage

@@             master      #1941   diff @@
==========================================
  Files            38         38          
  Lines          1253       1253          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits           1100       1100          
  Misses          153        153          
  Partials          0          0          

Powered by Codecov. Last update 6fbeaa4...0d65ffc

@cpojer
Copy link
Member

cpojer commented Oct 18, 2016

thank you <3

@cpojer cpojer merged commit 894652e into jestjs:master Oct 18, 2016
okonet pushed a commit to okonet/jest that referenced this pull request Nov 11, 2016
* Speed up eslint via built-in caching

The first run will be normal speed (~7.7s on my mac), but
subsequent runs were just over a second.

* Cache safe things on the CI side for a speedup
nickpresta pushed a commit to nickpresta/jest that referenced this pull request Nov 15, 2016
* Speed up eslint via built-in caching

The first run will be normal speed (~7.7s on my mac), but
subsequent runs were just over a second.

* Cache safe things on the CI side for a speedup
tushardhole pushed a commit to tushardhole/jest that referenced this pull request Aug 21, 2017
* Speed up eslint via built-in caching

The first run will be normal speed (~7.7s on my mac), but
subsequent runs were just over a second.

* Cache safe things on the CI side for a speedup
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants