59bb0809ba
also remove dependency on `@microsoft/api-extractor` as we already move to `dev-tool run extract-api` which calls api-extractor Api instead. ***NO_CI*** |
||
---|---|---|
.. | ||
test | ||
CHANGELOG.md | ||
README.md | ||
package.json | ||
sample.env | ||
tsconfig.json |
README.md
Guide
- Build the core-rest-pipeline perf tests package
rush build -t perf-core-rest-pipeline
. - Copy the
sample.env
file and name it as.env
. - Populate the
.env
file with your Azure Credentials. - Refer to the rate limits and then run the tests as follows:
bearerTokenAuthenticationPolicy
test for thechallengeCallbacks
, for simpleWWW-Authenticate
challenges.npm run perf-test:node -- BearerTokenAuthenticationPolicyChallengeTest --warmup 1 --iterations 1 --parallel 5
- Comparing various HTTP clients...
npm run perf-test:node -- UndiciRequestTest --warmup 1 --iterations 1 --parallel 5
[ 19,733.93 ops/sec ]npm run perf-test:node -- CoreRestPipelineTest --warmup 1 --iterations 1 --parallel 5
[ 17,519.69 ops/sec]npm run perf-test:node -- HttpRequestTest --warmup 1 --iterations 1 --parallel 5
[ 19,632.64 ops/sec] [ -- number ops/sec -- ] are from a codespaces instance