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 WPT checkout #215

Merged
merged 1 commit into from
Jan 29, 2024
Merged

Speed up WPT checkout #215

merged 1 commit into from
Jan 29, 2024

Conversation

bramus
Copy link
Collaborator

@bramus bramus commented Jan 26, 2024

By shallow cloning and only cloning the master branch, the WPT setup can be sped up, thereby improving the overall speed of the build pipeline.

Without this change – and at the time of writing – 705377 files make up the entire WPT repo and its history. With it, only 89341 files need to be fetched.

See https://www.bram.us/2020/11/11/speed-up-build-times-with-this-little-git-trick/ for details about this trick.

By shallow cloning and only cloning the master branch, the WPT setup can be sped up.

See https://www.bram.us/2020/11/11/speed-up-build-times-with-this-little-git-trick/ details.
@bramus
Copy link
Collaborator Author

bramus commented Jan 26, 2024

First results for Checkout WPT step:

Copy link
Owner

@flackr flackr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@flackr flackr merged commit 036233d into flackr:master Jan 29, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants