1cae9db8e1
as we no longer use it and rely on GitHub security features. ***NO_CI*** |
||
---|---|---|
.. | ||
test | ||
README.md | ||
package.json | ||
sample.env | ||
tsconfig.json |
README.md
Guide
- Build the ai-metrics-advisor perf tests package
rush build -t perf-ai-metrics-advisor
. - Copy the
sample.env
file and name it as.env
. - Create a metrics advisor client account and populate the
.env
file with the values of variables specified from thesample.env
- Run the tests as follows:
- list anomalies
npm run perf-test:node -- AnomaliesListTest --warmup 1 --iterations 1 --parallel 50 --duration 15
- list incidents
npm run perf-test:node -- IncidentsListTest --warmup 1 --iterations 1 --parallel 50 --duration 15
- get root causes
npm run perf-test:node -- RootCauseTest --warmup 1 --iterations 1 --parallel 50 --duration 15