Skip to content

Commit

Permalink
[Core] add parallel=1 as perf scenario for core (#36582)
Browse files Browse the repository at this point in the history
* add parallel=1 as perf scenario for core

* run parallel=1 scenarios by default
  • Loading branch information
swathipil authored Jul 23, 2024
1 parent e1a3343 commit 547d35c
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
9 changes: 8 additions & 1 deletion sdk/core/azure-core/perf-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,20 @@ Tests:
Arguments:
- --size 1024 --parallel 64 --duration 60 --policies all
- --size 1024 --parallel 64 --duration 60 --policies all --use-entra-id
- --size 1024 --parallel 64 --duration 60
- --size 10240 --parallel 64 --duration 60
- --size 10240 --parallel 64 --duration 60 --transport requests
- --size 10240 --parallel 1 --duration 60

- Test: download-binary
Class: DownloadBinaryDataTest
Arguments:
- --size 1024 --parallel 64 --duration 60
- --size 10240 --parallel 64 --duration 60 --transport requests
- --size 1024 --parallel 64 --duration 60 --transport requests
- --size 1024 --parallel 64 --duration 60 --use-entra-id
- --size 1024 --parallel 64 --duration 60 --policies all
- --size 1024 --parallel 1 --duration 60
- --size 10240 --parallel 64 --duration 60 --transport requests

- Test: update-entity
Class: UpdateEntityJSONTest
Expand All @@ -32,6 +36,7 @@ Tests:
- --size 1024 --parallel 64 --duration 60 --transport requests
- --size 1024 --parallel 64 --duration 60 --use-entra-id
- --size 1024 --parallel 64 --duration 60 --policies all
- --size 1024 --parallel 1 --duration 60

- Test: query-entities
Class: QueryEntitiesJSONTest
Expand All @@ -40,6 +45,7 @@ Tests:
- --size 1024 --parallel 64 --duration 60 --transport requests
- --size 1024 --parallel 64 --duration 60 --use-entra-id
- --size 1024 --parallel 64 --duration 60 --policies all
- --size 1024 --parallel 1 --duration 60

- Test: list-entities
Class: ListEntitiesPageableTest
Expand All @@ -48,3 +54,4 @@ Tests:
- --count 500 --parallel 32 --warmup 60 --duration 60 --transport requests
- --count 500 --parallel 32 --warmup 60 --duration 60 --use-entra-id
- --count 500 --parallel 32 --warmup 60 --duration 60 --policies all
- --count 500 --parallel 1 --warmup 60 --duration 60
2 changes: 1 addition & 1 deletion sdk/core/azure-core/perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ parameters:
- name: Arguments
displayName: Arguments (regex of arguments to run)
type: string
default: '(1024)|(10240)|(500)'
default: '(1024)|(10240)|(500)|(1)'
- name: Iterations
displayName: Iterations (times to run each test)
type: number
Expand Down
8 changes: 7 additions & 1 deletion sdk/core/corehttp/perf-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,17 @@ Tests:
- --size 1024 --parallel 64 --duration 60 --policies all --use-entra-id
- --size 10240 --parallel 64 --duration 60
- --size 10240 --parallel 64 --duration 60 --transport httpx
- --size 10240 --parallel 1 --duration 60

- Test: download-binary
Class: DownloadBinaryDataTest
Arguments:
- --size 1024 --parallel 64 --duration 60
- --size 1024 --parallel 64 --duration 60 --transport httpx
- --size 1024 --parallel 64 --duration 60 --use-entra-id
- --size 1024 --parallel 64 --duration 60 --policies all
- --size 10240 --parallel 64 --duration 60 --policies all
- --size 1024 --parallel 1 --duration 60

- Test: update-entity
Class: UpdateEntityJSONTest
Expand All @@ -32,6 +35,7 @@ Tests:
- --size 1024 --parallel 64 --duration 60 --transport httpx
- --size 1024 --parallel 64 --duration 60 --use-entra-id
- --size 1024 --parallel 64 --duration 60 --policies all
- --size 1024 --parallel 1 --duration 60

- Test: query-entities
Class: QueryEntitiesJSONTest
Expand All @@ -40,11 +44,13 @@ Tests:
- --size 1024 --parallel 64 --duration 60 --transport httpx
- --size 1024 --parallel 64 --duration 60 --use-entra-id
- --size 1024 --parallel 64 --duration 60 --policies all
- --size 1024 --parallel 1 --duration 60

- Test: list-entities
Class: ListEntitiesPageableTest
Arguments:
- --count 500 --parallel 32 --warmup 60 --duration 60
- --count 500 --parallel 32 --warmup 60 --duration 60 --transport httpx
- --count 500 --parallel 32 --warmup 60 --duration 60 --use-entra-id
- --count 500 --parallel 32 --warmup 60 --duration 60 --policies all
- --count 500 --parallel 32 --warmup 60 --duration 60 --policies all
- --count 500 --parallel 1 --warmup 60 --duration 60
2 changes: 1 addition & 1 deletion sdk/core/corehttp/perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ parameters:
- name: Arguments
displayName: Arguments (regex of arguments to run)
type: string
default: '(1024)|(10240)|(500)'
default: '(1024)|(10240)|(500)|(1)'
- name: Iterations
displayName: Iterations (times to run each test)
type: number
Expand Down

0 comments on commit 547d35c

Please sign in to comment.