瀏覽代碼

Remove aspcore-pgo (#6379)

Ben Adams 4 年之前
父節點
當前提交
80a43c2d41

+ 0 - 21
frameworks/CSharp/aspnetcore/aspcore-pgo-pg-up.dockerfile

@@ -1,21 +0,0 @@
-FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build
-WORKDIR /app
-COPY PlatformBenchmarks .
-RUN dotnet publish -c Release -o out /p:IsDatabase=true
-
-FROM mcr.microsoft.com/dotnet/aspnet:5.0 AS runtime
-ENV ASPNETCORE_URLS http://+:8080
-WORKDIR /app
-COPY --from=build /app/out ./
-COPY PlatformBenchmarks/appsettings.postgresql.updates.json ./appsettings.json
-
-# Switch off AoT code in libs to allow for greater instrumentation
-ENV COMPlus_ReadyToRun 0
-# Move methods with loops to Tier0 rather than Tier1 by default for greater instrumentation
-ENV COMPlus_TC_QuickJitForLoops 1
-# Switch on Profile Guided Optimization instrumentation at Tier0
-ENV COMPlus_TieredPGO 1
-
-EXPOSE 8080
-
-ENTRYPOINT ["dotnet", "PlatformBenchmarks.dll"]

+ 0 - 21
frameworks/CSharp/aspnetcore/aspcore-pgo-pg.dockerfile

@@ -1,21 +0,0 @@
-FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build
-WORKDIR /app
-COPY PlatformBenchmarks .
-RUN dotnet publish -c Release -o out /p:IsDatabase=true
-
-FROM mcr.microsoft.com/dotnet/aspnet:5.0 AS runtime
-ENV ASPNETCORE_URLS http://+:8080
-WORKDIR /app
-COPY --from=build /app/out ./
-COPY PlatformBenchmarks/appsettings.postgresql.json ./appsettings.json
-
-# Switch off AoT code in libs to allow for greater instrumentation
-ENV COMPlus_ReadyToRun 0
-# Move methods with loops to Tier0 rather than Tier1 by default for greater instrumentation
-ENV COMPlus_TC_QuickJitForLoops 1
-# Switch on Profile Guided Optimization instrumentation at Tier0
-ENV COMPlus_TieredPGO 1
-
-EXPOSE 8080
-
-ENTRYPOINT ["dotnet", "PlatformBenchmarks.dll"]

+ 0 - 22
frameworks/CSharp/aspnetcore/aspcore-pgo.dockerfile

@@ -1,22 +0,0 @@
-FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build
-WORKDIR /app
-COPY PlatformBenchmarks .
-RUN dotnet publish -c Release -o out
-
-FROM mcr.microsoft.com/dotnet/aspnet:5.0 AS runtime
-ENV ASPNETCORE_URLS http://+:8080
-ENV DOTNET_SYSTEM_NET_SOCKETS_INLINE_COMPLETIONS 1
-WORKDIR /app
-COPY --from=build /app/out ./
-COPY Benchmarks/appsettings.json ./appsettings.json
-
-# Switch off AoT code in libs to allow for greater instrumentation
-ENV COMPlus_ReadyToRun 0
-# Move methods with loops to Tier0 rather than Tier1 by default for greater instrumentation
-ENV COMPlus_TC_QuickJitForLoops 1
-# Switch on Profile Guided Optimization instrumentation at Tier0
-ENV COMPlus_TieredPGO 1
-
-EXPOSE 8080
-
-ENTRYPOINT ["dotnet", "PlatformBenchmarks.dll"]

+ 0 - 58
frameworks/CSharp/aspnetcore/benchmark_config.json

@@ -20,25 +20,6 @@
       "notes": "",
       "versus": "aspcore"
     },
-    "pgo": {
-      "plaintext_url": "/plaintext",
-      "json_url": "/json",
-      "port": 8080,
-      "approach": "Stripped",
-      "classification": "Platform",
-      "database": "None",
-      "framework": "ASP.NET Core",
-      "language": "C#",
-      "orm": "Raw",
-      "platform": ".NET",
-      "flavor": "CoreCLR",
-      "webserver": "Kestrel",
-      "os": "Linux",
-      "database_os": "Linux",
-      "display_name": "ASP.NET Core, Profile Guided Optimization",
-      "notes": "",
-      "versus": "aspcore"
-    },
     "ado-pg": {
       "fortune_url": "/fortunes",
       "db_url": "/db",
@@ -78,45 +59,6 @@
       "notes": "",
       "versus": "aspcore-ado-pg-up"
     },
-    "pgo-pg": {
-      "fortune_url": "/fortunes",
-      "db_url": "/db",
-      "query_url": "/queries/",
-      "cached_query_url": "/cached-worlds/",
-      "port": 8080,
-      "approach": "Stripped",
-      "classification": "Platform",
-      "database": "Postgres",
-      "framework": "ASP.NET Core",
-      "language": "C#",
-      "orm": "Raw",
-      "platform": ".NET",
-      "flavor": "CoreCLR",
-      "webserver": "Kestrel",
-      "os": "Linux",
-      "database_os": "Linux",
-      "display_name": "ASP.NET Core, Profile Guided Optimization",
-      "notes": "",
-      "versus": "aspcore-ado-pg"
-    },
-    "pgo-pg-up": {
-      "update_url": "/updates/",
-      "port": 8080,
-      "approach": "Stripped",
-      "classification": "Platform",
-      "database": "Postgres",
-      "framework": "ASP.NET Core",
-      "language": "C#",
-      "orm": "Raw",
-      "platform": ".NET",
-      "flavor": "CoreCLR",
-      "webserver": "Kestrel",
-      "os": "Linux",
-      "database_os": "Linux",
-      "display_name": "ASP.NET Core, Profile Guided Optimization",
-      "notes": "",
-      "versus": "aspcore-ado-pg-up"
-    },
     "mw": {
       "plaintext_url": "/plaintext",
       "port": 8080,