Browse Source

tweak aspnetcore metadata and configuration (#2230)

nathana1 9 years ago
parent
commit
b39a318c89

+ 3 - 3
frameworks/CSharp/aspnetcore/benchmark_config.json

@@ -7,7 +7,7 @@
       "plaintext_url": "/plaintext",
       "port": 8080,
       "approach": "Realistic",
-      "classification": "Fullstack",
+      "classification": "Micro",
       "database": "None",
       "framework": "aspnetcore",
       "language": "C#",
@@ -45,7 +45,7 @@
       "plaintext_url": "/plaintext",
       "port": 8080,
       "approach": "Realistic",
-      "classification": "Fullstack",
+      "classification": "Micro",
       "database": "None",
       "framework": "aspnetcore",
       "language": "C#",
@@ -83,7 +83,7 @@
       "plaintext_url": "/plaintext",
       "port": 8080,
       "approach": "Realistic",
-      "classification": "Fullstack",
+      "classification": "Micro",
       "database": "None",
       "framework": "aspnetcore",
       "language": "C#",

+ 1 - 1
frameworks/CSharp/aspnetcore/run-linux.sh

@@ -5,4 +5,4 @@ sudo apt-get install unzip libunwind8 -y
 cd Benchmarks
 dotnet restore
 dotnet build -c Release -f netcoreapp1.0
-dotnet run -c Release server.urls=http://*:8080 scenarios=$1 server=kestrel threadCount=8 NonInteractive=true &
+dotnet run -c Release server.urls=http://*:8080 scenarios=$1 server=kestrel threadCount=1 NonInteractive=true &

+ 1 - 1
frameworks/CSharp/aspnetcore/run-windows.ps1

@@ -5,4 +5,4 @@ $scenarios = (-split $scenarios) -join ","
 cd Benchmarks
 dotnet restore
 dotnet build -c Release -f netcoreapp1.0
-Start-Process -NoNewWindow dotnet "run -c Release server.urls=http://*:8080 server=$server threadCount=8 NonInteractive=true scenarios=$scenarios"
+Start-Process -NoNewWindow dotnet "run -c Release server.urls=http://*:8080 server=$server threadCount=1 NonInteractive=true scenarios=$scenarios"