578 B
578 B
Guide
-
Build the ai-form-recognizer perf tests package
rush build -t @azure-tests/perf-ai-form-recognizer
. -
Copy the
sample.env
file and name it as.env
. -
Create a cognitive services account and populate the
.env
file with the relevant credentials. -
Run the tests as follows
- custom model recognition
npm run perf-test:node -- CustomModelRecognitionTest --warmup 2 --duration 7 --iterations 2 --parallel 2
- custom model recognition
Be wary of low API rate limits. Increasing the "parallel" parameter can cause the performance tests to exceed the allowed request rate.