-
Notifications
You must be signed in to change notification settings - Fork 450
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
75 additions
and
0 deletions.
There are no files selected for viewing
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,38 @@ | ||
imports: | ||
- https://raw.githubusercontent.com/dotnet/crank/main/src/Microsoft.Crank.Jobs.Bombardier/bombardier.yml | ||
|
||
jobs: | ||
|
||
server: | ||
sources: | ||
functionshost: | ||
repository: https://github.com/Azure/azure-functions-host | ||
branchOrCommit: dev | ||
project: functionshost/src/WebJobs.Script.WebHost/WebJobs.Script.WebHost.csproj | ||
readyStateText: 'Application started.' | ||
environmentVariables: | ||
AzureWebJobsScriptRoot: "C:\\FunctionApps\\HelloHttp9" | ||
FUNCTIONS_WORKER_RUNTIME: dotnet-isolated | ||
|
||
scenarios: | ||
hellohttp: | ||
hostruntime: | ||
job: server | ||
|
||
load: | ||
job: bombardier | ||
variables: | ||
serverPort: 5000 | ||
path: /api/Hello | ||
|
||
profiles: | ||
win2022: | ||
variables: | ||
serverAddress: localhost | ||
jobs: | ||
hostruntime: | ||
endpoints: | ||
- http://localhost:5010 | ||
load: | ||
endpoints: | ||
- http://localhost:5010 |
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,37 @@ | ||
# No triggers for code push to any branch. | ||
trigger: none | ||
|
||
# No PR triggers for now | ||
pr: none | ||
|
||
schedules: | ||
- cron: "0 21 * * *" | ||
displayName: "Run at 9 PM every night" | ||
always: true | ||
|
||
variables: | ||
- name: buildId | ||
value: $(Build.BuildId) | ||
- name: buildNumber | ||
value: $(Build.BuildNumber) | ||
- name: sourceVersion | ||
value: $(Build.SourceVersion) | ||
jobs: | ||
- job: PublishToServiceBus | ||
displayName: "Windows HTTP Tests" | ||
pool: server | ||
steps: | ||
- task: PublishToAzureServiceBus@2 | ||
displayName: ".NET9 Hello Http" | ||
inputs: | ||
azureSubscription: Azure-Functions-Host-Perf-internal | ||
serviceBusQueueName: crank-jobs | ||
serviceBusNamespace: azure-functions-host-perf | ||
waitForCompletion: true | ||
useDataContractSerializer: "false" | ||
messageBody: | | ||
{ | ||
"name": "crank", | ||
"retries": 1, | ||
"args": [ "--config https://raw.githubusercontent.com/Azure/azure-functions-host/refs/heads/dev/eng/ci/benchmarkconfigs/hellohttp-net9.yml --scenario hellohttp --profile win2022 --load.options.reuseBuild true --description net9hellohttpwin --command-line-property --table HttpBenchmarks --sql SQL_CONNECTION_STRING --chart --no-metadata --no-measurements --property buildId=\"$(buildId)\" --property sourceVersion=\"$(sourceVersion)\" --property buildNumber=\"$(buildNumber)\"" ] | ||
} |