Skip to content

[Perf] Make perf package public for consumption outside this repo#28916

Merged
HarshaNalluru merged 8 commits intoAzure:mainfrom
HarshaNalluru:harshan/perf-pkg-public
Mar 19, 2024
Merged

[Perf] Make perf package public for consumption outside this repo#28916
HarshaNalluru merged 8 commits intoAzure:mainfrom
HarshaNalluru:harshan/perf-pkg-public

Conversation

@HarshaNalluru
Copy link
Contributor

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!

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