Skip to content

Commit

Permalink
C#: run the benchmark once. (valkey-io#1206)
Browse files Browse the repository at this point in the history
The benchmark shouldn't run twice, and is currently broken for anyone who doesn't have .net 8 installed.
If there's an interest in the benchmark result of different frameworks, the framework can be added as an argument.

Co-authored-by: nihohit <[email protected]>
  • Loading branch information
shachlanAmazon and nihohit authored Apr 1, 2024
1 parent c9537db commit 805d04e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion benchmarks/install_and_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ function runCSharpBenchmark(){
dotnet clean
dotnet build --configuration Release /warnaserror
dotnet run --framework net6.0 --configuration Release --resultsFile=../$1 --dataSize $2 --concurrentTasks $concurrentTasks --clients $chosenClients --host $host --clientCount $clientCount $tlsFlag $portFlag $minimalFlag
dotnet run --framework net8.0 --configuration Release --resultsFile=../$1 --dataSize $2 --concurrentTasks $concurrentTasks --clients $chosenClients --host $host --clientCount $clientCount $tlsFlag $portFlag $minimalFlag
}

function runJavaBenchmark(){
Expand Down

0 comments on commit 805d04e

Please sign in to comment.