-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Storage][DataMovement] Add perf pipeline definition + fixes (#46993)
* Add DMLib Blobs perf pipeline * Add smaller test for testing * Fix service dir * Was it the slashes? * Try workaround * Fix sku type, null checks on cleanup * Change timeout, change test cases, no-sync * Timeout in seconds * Fix upload, try ConcurrentDictionary * Small tweaks * Unused import
- Loading branch information
1 parent
de53b98
commit 44e1db9
Showing
9 changed files
with
115 additions
and
12 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
sdk/storage/Azure.Storage.DataMovement.Blobs/perf-resources.bicep
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
param baseName string = resourceGroup().name | ||
param location string = resourceGroup().location | ||
|
||
resource storageAccount 'Microsoft.Storage/storageAccounts@2023-05-01' = { | ||
name: '${baseName}blob' | ||
location: location | ||
kind: 'StorageV2' | ||
sku: { | ||
name: 'Standard_LRS' | ||
} | ||
} | ||
|
||
var name = storageAccount.name | ||
var key = storageAccount.listKeys().keys[0].value | ||
|
||
output AZURE_STORAGE_ACCOUNT_NAME string = name | ||
output AZURE_STORAGE_ACCOUNT_KEY string = key |
22 changes: 22 additions & 0 deletions
22
sdk/storage/Azure.Storage.DataMovement.Blobs/perf-tests.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Service: storage-datamovement-blob | ||
|
||
Project: sdk/storage/Azure.Storage.DataMovement.Blobs/perf/Azure.Storage.DataMovement.Blobs.Perf/Azure.Storage.DataMovement.Blobs.Perf.csproj | ||
|
||
PackageVersions: | ||
- Azure.Storage.DataMovement.Blobs: source | ||
|
||
Tests: | ||
- Test: download | ||
Class: DownloadDirectory | ||
Arguments: &sizes | ||
- --size 1024 --count 5000 --duration 60 --concurrency 64 | ||
- --size 10485760 --count 500 --duration 90 --concurrency 64 | ||
- --size 1073741824 --count 5 --duration 120 --concurrency 64 | ||
|
||
- Test: upload | ||
Class: UploadDirectory | ||
Arguments: *sizes | ||
|
||
- Test: copy | ||
Class: CopyDirectory | ||
Arguments: *sizes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
parameters: | ||
- name: LanguageVersion | ||
displayName: LanguageVersion (6, 8) | ||
type: string | ||
default: '8' | ||
- name: PackageVersions | ||
displayName: PackageVersions (regex of package versions to run) | ||
type: string | ||
default: 'source' | ||
- name: Tests | ||
displayName: Tests (regex of tests to run) | ||
type: string | ||
default: '^(upload|download|copy)$' | ||
- name: Arguments | ||
displayName: Arguments (regex of arguments to run) | ||
type: string | ||
default: '.*' | ||
- name: Iterations | ||
displayName: Iterations (times to run each test) | ||
type: number | ||
default: '5' | ||
- name: Profile | ||
type: boolean | ||
default: false | ||
- name: AdditionalArguments | ||
displayName: AdditionalArguments (passed to PerfAutomation) | ||
type: string | ||
default: '--no-sync' | ||
|
||
extends: | ||
template: /eng/pipelines/templates/jobs/perf.yml | ||
parameters: | ||
LanguageVersion: ${{ parameters.LanguageVersion }} | ||
ServiceDirectory: storage/Azure.Storage.DataMovement.Blobs | ||
PackageVersions: ${{ parameters.PackageVersions }} | ||
Tests: ${{ parameters.Tests }} | ||
Arguments: ${{ parameters.Arguments }} | ||
Iterations: ${{ parameters.Iterations }} | ||
Profile: ${{ parameters.Profile }} | ||
AdditionalArguments: ${{ parameters.AdditionalArguments }} | ||
EnvVars: | ||
AZURE_AUTHORITY_HOST: $(AZURE_STORAGE_DATAMOVEMENT_BLOBS_AZURE_AUTHORITY_HOST) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters