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

[JS] Capture profiling artifacts #5369

Merged

Conversation

HarshaNalluru
Copy link
Member

@HarshaNalluru HarshaNalluru commented Feb 8, 2023

This PR

  • allows capturing the profiling artifacts generated by the perf framework in the JS perf pipelines.
  • provides the names of the artifacts.

The counterpart in the JS repo Azure/azure-sdk-for-js#24240

Validation: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=2201082&view=results

@mikeharder
Copy link
Member

@HarshaNalluru HarshaNalluru merged commit dfa253e into Azure:main Feb 21, 2023
HarshaNalluru added a commit to Azure/azure-sdk-for-js that referenced this pull request Feb 21, 2023
Fixes #14146

Validation:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=2201082&view=results

## What's in the PR?
Adds two new options to add profiling support to the perf framework
```
  profile = "Set to true to profile the perf test. When set to true, `cpus` will be overriden to 1." (defaults to false)
  profile-filepath = "Used as the artifact path" (optional)
```
Counterpart in the tools repo
Azure/azure-sdk-tools#5369

## Example generated profile
<img width="1125" alt="image"
src="https://user-images.githubusercontent.com/10452642/218958379-4c62386b-530a-4f3f-84bd-49d51d41bfd4.png">

---------

Co-authored-by: Jeff Fisher <[email protected]>
Co-authored-by: Timo van Veenendaal <[email protected]>
@HarshaNalluru HarshaNalluru deleted the harshan/set-profiling-artifacts branch February 21, 2023 04:26
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