diff --git a/perf/BenchmarkApp/PerformanceTest.Client/PerformanceTest.Client.csproj b/perf/BenchmarkApp/PerformanceTest.Client/PerformanceTest.Client.csproj index 25f6a0ba3..8f83591ca 100644 --- a/perf/BenchmarkApp/PerformanceTest.Client/PerformanceTest.Client.csproj +++ b/perf/BenchmarkApp/PerformanceTest.Client/PerformanceTest.Client.csproj @@ -2,7 +2,7 @@ Exe - net8.0 + net9.0 enable enable CLIENT;$(DefineConstants) diff --git a/perf/BenchmarkApp/PerformanceTest.Server/PerformanceTest.Server.csproj b/perf/BenchmarkApp/PerformanceTest.Server/PerformanceTest.Server.csproj index 31505570a..0bb11ff5c 100644 --- a/perf/BenchmarkApp/PerformanceTest.Server/PerformanceTest.Server.csproj +++ b/perf/BenchmarkApp/PerformanceTest.Server/PerformanceTest.Server.csproj @@ -1,7 +1,7 @@ - net8.0 + net9.0 enable enable SERVER;$(DefineConstants) diff --git a/perf/BenchmarkApp/PerformanceTest.Shared/PerformanceTest.Shared.csproj b/perf/BenchmarkApp/PerformanceTest.Shared/PerformanceTest.Shared.csproj index 309fc7d8d..d3d7cc5da 100644 --- a/perf/BenchmarkApp/PerformanceTest.Shared/PerformanceTest.Shared.csproj +++ b/perf/BenchmarkApp/PerformanceTest.Shared/PerformanceTest.Shared.csproj @@ -1,7 +1,7 @@ - net8.0 + net9.0 enable enable diff --git a/perf/BenchmarkApp/README.md b/perf/BenchmarkApp/README.md index 7dc186194..cc2831803 100644 --- a/perf/BenchmarkApp/README.md +++ b/perf/BenchmarkApp/README.md @@ -28,5 +28,28 @@ $ dotnet run -c Release -- -u http://localhost:5000 -s unary --report report.txt #### Use Repository-local MagicOnion.Client (`dotnet` command option) ``` -$ dotnet run -c Release -p:UseRepositoryClient=true -- -u http://localhost:5000 -s unary -``` \ No newline at end of file +$ dotnet run -c Release -p:UseRepositoryClient=true -- -u http://localhost:5000 -s unary +``` + +## Datadog Event + +Post Datadog event if you changed TargetFramework. + +```shell +curl -X POST "https://api.datadoghq.com/api/v1/events" \ +-H "Accept: application/json" \ +-H "Content-Type: application/json" \ +-H "DD-API-KEY: ${DD_API_KEY}" \ +-H "DD-APPLICATION-KEY: ${DD_APP_KEY}" \ +-d @- << EOF +{ + "tags": [ + "type:benchmark", + "app:magiconion", + "changed:target-framework" + ], + "title": "magiconion target framework updated", + "text": "magiconion target framework version has been updated from 8.0 to 9.0" +} +EOF +``` diff --git a/perf/BenchmarkApp/configs/issue.yaml b/perf/BenchmarkApp/configs/issue.yaml index 078d595a0..18edafc3f 100644 --- a/perf/BenchmarkApp/configs/issue.yaml +++ b/perf/BenchmarkApp/configs/issue.yaml @@ -1,7 +1,7 @@ # template: https://github.com/Cysharp/Actions/tree/main/.github/scripts/_template_benchmark_config.yaml # config2args script: https://github.com/Cysharp/Actions/tree/main/.github/scripts/benchmark_config2args.sh apt-tools: "" -dotnet-version: 8.0 +dotnet-version: 9.0 benchmark-expire-min: 15 benchmark-location: "japaneast" benchmark-timeout-min: 10 diff --git a/perf/BenchmarkApp/configs/schedule_ci.yaml b/perf/BenchmarkApp/configs/schedule_ci.yaml index 88220be96..a06a05940 100644 --- a/perf/BenchmarkApp/configs/schedule_ci.yaml +++ b/perf/BenchmarkApp/configs/schedule_ci.yaml @@ -1,7 +1,7 @@ # template: https://github.com/Cysharp/Actions/tree/main/.github/scripts/_template_benchmark_config.yaml # config2args script: https://github.com/Cysharp/Actions/tree/main/.github/scripts/benchmark_config2args.sh apt-tools: "libmsquic" -dotnet-version: 8.0 +dotnet-version: 9.0 benchmark-expire-min: 15 #benchmark-location: "japaneast" benchmark-location: "eastus" diff --git a/perf/BenchmarkApp/configs/schedule_serverstreaming.yaml b/perf/BenchmarkApp/configs/schedule_serverstreaming.yaml index a3d28d8b9..7b2f1e7b9 100644 --- a/perf/BenchmarkApp/configs/schedule_serverstreaming.yaml +++ b/perf/BenchmarkApp/configs/schedule_serverstreaming.yaml @@ -1,7 +1,7 @@ # template: https://github.com/Cysharp/Actions/tree/main/.github/scripts/_template_benchmark_config.yaml # config2args script: https://github.com/Cysharp/Actions/tree/main/.github/scripts/benchmark_config2args.sh apt-tools: "libmsquic" -dotnet-version: 8.0 +dotnet-version: 9.0 benchmark-expire-min: 15 #benchmark-location: "japaneast" benchmark-location: "eastus" diff --git a/perf/BenchmarkApp/configs/workflow_dispatch_memorypack_h2.yaml b/perf/BenchmarkApp/configs/workflow_dispatch_memorypack_h2.yaml index b4be02628..5a8ed4c5a 100644 --- a/perf/BenchmarkApp/configs/workflow_dispatch_memorypack_h2.yaml +++ b/perf/BenchmarkApp/configs/workflow_dispatch_memorypack_h2.yaml @@ -1,7 +1,7 @@ # template: https://github.com/Cysharp/Actions/tree/main/.github/scripts/_template_benchmark_config.yaml # config2args script: https://github.com/Cysharp/Actions/tree/main/.github/scripts/benchmark_config2args.sh apt-tools: "" -dotnet-version: 8.0 +dotnet-version: 9.0 benchmark-expire-min: 15 benchmark-location: "japaneast" benchmark-timeout-min: 10 diff --git a/perf/BenchmarkApp/configs/workflow_dispatch_memorypack_h2c.yaml b/perf/BenchmarkApp/configs/workflow_dispatch_memorypack_h2c.yaml index a1e5fea0f..5729320b9 100644 --- a/perf/BenchmarkApp/configs/workflow_dispatch_memorypack_h2c.yaml +++ b/perf/BenchmarkApp/configs/workflow_dispatch_memorypack_h2c.yaml @@ -1,7 +1,7 @@ # template: https://github.com/Cysharp/Actions/tree/main/.github/scripts/_template_benchmark_config.yaml # config2args script: https://github.com/Cysharp/Actions/tree/main/.github/scripts/benchmark_config2args.sh apt-tools: "" -dotnet-version: 8.0 +dotnet-version: 9.0 benchmark-expire-min: 15 benchmark-location: "japaneast" benchmark-timeout-min: 10 diff --git a/perf/BenchmarkApp/configs/workflow_dispatch_memorypack_h3.yaml b/perf/BenchmarkApp/configs/workflow_dispatch_memorypack_h3.yaml index f911c2b3d..376d493a2 100644 --- a/perf/BenchmarkApp/configs/workflow_dispatch_memorypack_h3.yaml +++ b/perf/BenchmarkApp/configs/workflow_dispatch_memorypack_h3.yaml @@ -1,7 +1,7 @@ # template: https://github.com/Cysharp/Actions/tree/main/.github/scripts/_template_benchmark_config.yaml # config2args script: https://github.com/Cysharp/Actions/tree/main/.github/scripts/benchmark_config2args.sh apt-tools: "libmsquic" -dotnet-version: 8.0 +dotnet-version: 9.0 benchmark-expire-min: 15 benchmark-location: "japaneast" benchmark-timeout-min: 10 diff --git a/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h2.yaml b/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h2.yaml index 95bfd8632..fe0c04e60 100644 --- a/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h2.yaml +++ b/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h2.yaml @@ -1,7 +1,7 @@ # template: https://github.com/Cysharp/Actions/tree/main/.github/scripts/_template_benchmark_config.yaml # config2args script: https://github.com/Cysharp/Actions/tree/main/.github/scripts/benchmark_config2args.sh apt-tools: "" -dotnet-version: 8.0 +dotnet-version: 9.0 benchmark-expire-min: 15 benchmark-location: "japaneast" benchmark-timeout-min: 10 diff --git a/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h2_nugetclient.yaml b/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h2_nugetclient.yaml index 033ef4d4f..703eaaee5 100644 --- a/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h2_nugetclient.yaml +++ b/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h2_nugetclient.yaml @@ -1,7 +1,7 @@ # template: https://github.com/Cysharp/Actions/tree/main/.github/scripts/_template_benchmark_config.yaml # config2args script: https://github.com/Cysharp/Actions/tree/main/.github/scripts/benchmark_config2args.sh apt-tools: "" -dotnet-version: 8.0 +dotnet-version: 9.0 benchmark-expire-min: 15 benchmark-location: "japaneast" benchmark-timeout-min: 10 diff --git a/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h2_nugetserver.yaml b/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h2_nugetserver.yaml index 0c419a7a0..d19046235 100644 --- a/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h2_nugetserver.yaml +++ b/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h2_nugetserver.yaml @@ -1,7 +1,7 @@ # template: https://github.com/Cysharp/Actions/tree/main/.github/scripts/_template_benchmark_config.yaml # config2args script: https://github.com/Cysharp/Actions/tree/main/.github/scripts/benchmark_config2args.sh apt-tools: "" -dotnet-version: 8.0 +dotnet-version: 9.0 benchmark-expire-min: 15 benchmark-location: "japaneast" benchmark-timeout-min: 10 diff --git a/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h2c.yaml b/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h2c.yaml index 1dec6a9d5..7f676ea5f 100644 --- a/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h2c.yaml +++ b/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h2c.yaml @@ -1,7 +1,7 @@ # template: https://github.com/Cysharp/Actions/tree/main/.github/scripts/_template_benchmark_config.yaml # config2args script: https://github.com/Cysharp/Actions/tree/main/.github/scripts/benchmark_config2args.sh apt-tools: "" -dotnet-version: 8.0 +dotnet-version: 9.0 benchmark-expire-min: 15 benchmark-location: "japaneast" benchmark-timeout-min: 10 diff --git a/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h2c_eastus.yaml b/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h2c_eastus.yaml index 5cc324611..5013850f1 100644 --- a/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h2c_eastus.yaml +++ b/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h2c_eastus.yaml @@ -1,7 +1,7 @@ # template: https://github.com/Cysharp/Actions/tree/main/.github/scripts/_template_benchmark_config.yaml # config2args script: https://github.com/Cysharp/Actions/tree/main/.github/scripts/benchmark_config2args.sh apt-tools: "" -dotnet-version: 8.0 +dotnet-version: 9.0 benchmark-expire-min: 15 benchmark-location: "eastus" benchmark-timeout-min: 10 diff --git a/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h2c_nugetclient.yaml b/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h2c_nugetclient.yaml index 1bfe846dc..7f2260ff4 100644 --- a/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h2c_nugetclient.yaml +++ b/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h2c_nugetclient.yaml @@ -1,7 +1,7 @@ # template: https://github.com/Cysharp/Actions/tree/main/.github/scripts/_template_benchmark_config.yaml # config2args script: https://github.com/Cysharp/Actions/tree/main/.github/scripts/benchmark_config2args.sh apt-tools: "" -dotnet-version: 8.0 +dotnet-version: 9.0 benchmark-expire-min: 15 benchmark-location: "japaneast" benchmark-timeout-min: 10 diff --git a/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h2c_nugetserver.yaml b/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h2c_nugetserver.yaml index ec5c06928..021ff3256 100644 --- a/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h2c_nugetserver.yaml +++ b/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h2c_nugetserver.yaml @@ -1,7 +1,7 @@ # template: https://github.com/Cysharp/Actions/tree/main/.github/scripts/_template_benchmark_config.yaml # config2args script: https://github.com/Cysharp/Actions/tree/main/.github/scripts/benchmark_config2args.sh apt-tools: "" -dotnet-version: 8.0 +dotnet-version: 9.0 benchmark-expire-min: 15 benchmark-location: "japaneast" benchmark-timeout-min: 10 diff --git a/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h2c_serverstreaming.yaml b/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h2c_serverstreaming.yaml index 3d4f09e72..d36c79c60 100644 --- a/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h2c_serverstreaming.yaml +++ b/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h2c_serverstreaming.yaml @@ -1,7 +1,7 @@ # template: https://github.com/Cysharp/Actions/tree/main/.github/scripts/_template_benchmark_config.yaml # config2args script: https://github.com/Cysharp/Actions/tree/main/.github/scripts/benchmark_config2args.sh apt-tools: "" -dotnet-version: 8.0 +dotnet-version: 9.0 benchmark-expire-min: 15 benchmark-location: "japaneast" benchmark-timeout-min: 10 diff --git a/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h3.yaml b/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h3.yaml index b50bfcbc0..1d1244c49 100644 --- a/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h3.yaml +++ b/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h3.yaml @@ -1,7 +1,7 @@ # template: https://github.com/Cysharp/Actions/tree/main/.github/scripts/_template_benchmark_config.yaml # config2args script: https://github.com/Cysharp/Actions/tree/main/.github/scripts/benchmark_config2args.sh apt-tools: "libmsquic" -dotnet-version: 8.0 +dotnet-version: 9.0 benchmark-expire-min: 15 benchmark-location: "japaneast" benchmark-timeout-min: 10 diff --git a/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h3_nugetclient.yaml b/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h3_nugetclient.yaml index 17d277166..b4dbb3251 100644 --- a/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h3_nugetclient.yaml +++ b/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h3_nugetclient.yaml @@ -1,7 +1,7 @@ # template: https://github.com/Cysharp/Actions/tree/main/.github/scripts/_template_benchmark_config.yaml # config2args script: https://github.com/Cysharp/Actions/tree/main/.github/scripts/benchmark_config2args.sh apt-tools: "" -dotnet-version: 8.0 +dotnet-version: 9.0 benchmark-expire-min: 15 benchmark-location: "japaneast" benchmark-timeout-min: 10 diff --git a/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h3_nugetserver.yaml b/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h3_nugetserver.yaml index 289cdec04..e6b25a9e9 100644 --- a/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h3_nugetserver.yaml +++ b/perf/BenchmarkApp/configs/workflow_dispatch_messagepack_h3_nugetserver.yaml @@ -1,7 +1,7 @@ # template: https://github.com/Cysharp/Actions/tree/main/.github/scripts/_template_benchmark_config.yaml # config2args script: https://github.com/Cysharp/Actions/tree/main/.github/scripts/benchmark_config2args.sh apt-tools: "" -dotnet-version: 8.0 +dotnet-version: 9.0 benchmark-expire-min: 15 benchmark-location: "japaneast" benchmark-timeout-min: 10