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

[ci] take #2, improve build times by saving TerserPlugin cache #6882

Merged
merged 1 commit into from Feb 15, 2019

Conversation

mistercrunch
Copy link
Member

@mistercrunch mistercrunch commented Feb 15, 2019

The problem with the previous solution was that the npm ci command
nuke the node_modules folder, including the .cache that was used by
default. By moving the cache out of node_modules we get to both run
npm ci and accelerate TerserPlugin

Looks like it works now, shaves ~5 minutes of the 4 longest items in the matrix

before

screen shot 2019-02-14 at 9 43 34 pm

after

screen shot 2019-02-14 at 9 42 55 pm

The problem with the previous solution was that the `npm ci` command
nuke the `node_modules` folder, including the `.cache` that was used by
default. By moving the cache out of `node_modules`  we get to both run
`npm ci` and accelerate `TerserPlugin`
@codecov-io
Copy link

codecov-io commented Feb 15, 2019

Codecov Report

Merging #6882 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #6882   +/-   ##
=======================================
  Coverage   63.73%   63.73%           
=======================================
  Files         419      419           
  Lines       20482    20482           
  Branches     2233     2233           
=======================================
  Hits        13055    13055           
  Misses       7293     7293           
  Partials      134      134

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ec6657a...31c1154. Read the comment docs.

@kristw
Copy link
Contributor

kristw commented Feb 15, 2019

LGTM!

@mistercrunch mistercrunch merged commit 4986874 into apache:master Feb 15, 2019
@mistercrunch mistercrunch deleted the terser_2 branch February 15, 2019 16:53
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.34.0 labels Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.34.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants