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] Make perf package public for consumption outside this repo #28916

Merged
merged 8 commits into from
Mar 19, 2024

Conversation

HarshaNalluru
Copy link
Member

Packages impacted by this PR

@azure-tools/test-perf

Describe the problem that is addressed by this PR

Making perf package public for consumption outside this repo.
This marks the initial release of the @azure-tools/test-perf library to npm, providing a robust test utility framework that assists with the performance testing of Azure SDKs for JS/TS.

Key Concepts

  1. Introduction of PerfTest: A test utility designed to execute performance and stress tests for Azure SDK for JavaScript packages.
  2. Test Execution: Tests are run asynchronously, influenced by parameters like duration, iterations, and parallelism.
  3. Command Line Parameters: Utilizes minimist for parsing command line options into a PerfOptionDictionary<string> for test configuration.
  4. Default Options: Includes standard parameters such as help, no-cleanups, parallel, duration, warmup, iterations, no-cleanup, and milliseconds-to-log.
  5. Test Lifecycle: Tests run repeatedly within the specified duration and iterations, with a warmup period for runtime optimization.
  6. Setup and Cleanup: Features globalSetup/globalCleanup methods for CPU-level preparation and setup/cleanup methods for instance-specific state management.

@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

Copy link
Member

@JacksonWeber JacksonWeber 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 for releasing this!

HarshaNalluru added a commit that referenced this pull request Mar 14, 2024
### Packages impacted by this PR
`@azure/dev-tool`

### Issues associated with this PR
Fixing lint errors in `dev-tool` to unblock
#28916 and [js -
eslint-plugin -
ci](https://dev.azure.com/azure-sdk/public/_build/results?buildId=3595289&view=logs&j=58292cae-3c74-5729-4cfd-9ceee65fe129&t=5e44d412-b571-5a43-3bb4-5c5145c0a5aa)
@HarshaNalluru HarshaNalluru enabled auto-merge (squash) March 19, 2024 09:37
@HarshaNalluru HarshaNalluru merged commit 8d3374a into Azure:main Mar 19, 2024
185 checks passed
@HarshaNalluru HarshaNalluru deleted the harshan/perf-pkg-public branch March 19, 2024 10:45
HarshaNalluru added a commit that referenced this pull request Mar 20, 2024
To allow publishing to npm.
Followup of #28916
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test-utils Label for the issues related to the @azure/test-utils package
Projects
Status: Done
Status: Done
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants