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

[Beta] Add Shim Performance Testing #1302

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,5 @@ undefined/temp/appInsights-node/applicationinsights.log
test/certs/server-key.pem
# Ignore folder created during test runs
undefined/*
node_modules
dist-esm
52 changes: 26 additions & 26 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions test/performanceTests/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
### Guide

1. Copy the `sample.env` file and name it as `.env`.
2. Create an Application Insights resource and populate the `.env` file with connectionString.
3. Run the tests as follows (parameters can be modified to as appropriate):

- Tracking Dependencies (spans)
- `npm run perf-test:node -- TrackDependencyTest --warmup 1 --iterations 1 --parallel 2 --duration 15`
- Tracking Traces (logs)
- `npm run perf-test:node -- TrackTraceTest --warmup 1 --iterations 1 --parallel 2 --duration 15`