Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

perf: improve clone speed of benchmark tool with sparse-checkout #4476

Merged
merged 1 commit into from
May 15, 2023

Conversation

connorjburton
Copy link
Contributor

@connorjburton connorjburton commented May 14, 2023

Summary

I noticed that we were cloning whole repositories but only using parts of them to actually perform the benchmark against. This change takes advantage of git sparse-checkout to only pull the folders that we define in our configuration. It does not affect benchmark results, but does make the setup faster.

Test Plan

Changelog

I don't believe this requires a changelog entry

  • The PR requires a changelog line

Documentation

This does not require documentation.

  • The PR requires documentation
  • I will create a new PR to update the documentation

@netlify
Copy link

netlify bot commented May 14, 2023

Deploy Preview for docs-rometools canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit 9fe83ee
🔍 Latest deploy log https://app.netlify.com/sites/docs-rometools/deploys/64610ef85bf9960008ba2d25

Copy link
Contributor

@ematipico ematipico left a comment

Choose a reason for hiding this comment

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

Thank you!

@ematipico ematipico merged commit 77b328d into rome:main May 15, 2023
5 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants