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

[Perf] Use sparse checkout in perf.yml #3844

Closed
mikeharder opened this issue Aug 4, 2022 · 1 comment
Closed

[Perf] Use sparse checkout in perf.yml #3844

mikeharder opened this issue Aug 4, 2022 · 1 comment
Assignees
Labels
pillar-performance The issue is related to performance, one of our core engineering pillars.

Comments

@mikeharder
Copy link
Member

File /eng/common/pipelines/templates/jobs/perf.yml should use sparse-checkout.yml (excluding test recordings) instead of the checkout task. .NET clone times improve from 3m25s to 45s.

Example:

- template: /eng/common/pipelines/templates/steps/sparse-checkout.yml
  parameters:
    Paths:
    - '/*'
    - '!sdk/**/test-recordings/*'
    - '!sdk/**/recordings/*'
    - '!sdk/**/SessionRecords/*'
    - '!sdk/**/session-records/*'
    Repositories:
    - Name: $(Build.Repository.Name)
      Commitish: $(Build.SourceVersion)
      WorkingDirectory: $(System.DefaultWorkingDirectory)
    - Name: Azure/azure-sdk-tools
      Commitish: main
      WorkingDirectory: $(System.DefaultWorkingDirectory)/azure-sdk-tools
@mikeharder mikeharder self-assigned this Aug 4, 2022
@ghost ghost added the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Aug 4, 2022
@mikeharder mikeharder added pillar-performance The issue is related to performance, one of our core engineering pillars. and removed needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. labels Aug 4, 2022
@mikeharder mikeharder moved this to 🤔Triage in Azure SDK EngSys 🤖🧠 Aug 4, 2022
@mikeharder mikeharder moved this from 🤔Triage to 🐝 Dev in Azure SDK EngSys 🤖🧠 Aug 4, 2022
@mikeharder
Copy link
Member Author

Fixed by #3874

Repository owner moved this from 🐝 Dev to 🎊Closed in Azure SDK EngSys 🤖🧠 Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pillar-performance The issue is related to performance, one of our core engineering pillars.
Projects
None yet
Development

No branches or pull requests

1 participant