From a48c34a30d8579f9fe75f1297a2af11519b05453 Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Wed, 15 Nov 2023 15:18:22 +0100 Subject: [PATCH] No need for utf8json --- frameworks/FSharp/giraffe/README.md | 3 +-- .../FSharp/giraffe/benchmark_config.json | 18 ------------------ .../giraffe/giraffe-utf8json.dockerfile | 19 ------------------- frameworks/FSharp/zebra/README.md | 2 +- 4 files changed, 2 insertions(+), 40 deletions(-) delete mode 100644 frameworks/FSharp/giraffe/giraffe-utf8json.dockerfile diff --git a/frameworks/FSharp/giraffe/README.md b/frameworks/FSharp/giraffe/README.md index b6a61090be7..fa4751bbda2 100644 --- a/frameworks/FSharp/giraffe/README.md +++ b/frameworks/FSharp/giraffe/README.md @@ -10,7 +10,7 @@ This application tests Giraffe in 3 modes: **Language** -* F# 6.0 +* F# 8.0 **Platforms** @@ -32,5 +32,4 @@ All source code is inside `Program.fs`. App listens for a single command line argument to pick the desired JSON implementation: - `system`: `System.Text.Json` - - `utf8`: `Utf8Json` - `newtonsoft`: `Newtonsoft.Json` diff --git a/frameworks/FSharp/giraffe/benchmark_config.json b/frameworks/FSharp/giraffe/benchmark_config.json index 8dc135e931c..4384822a751 100644 --- a/frameworks/FSharp/giraffe/benchmark_config.json +++ b/frameworks/FSharp/giraffe/benchmark_config.json @@ -22,24 +22,6 @@ "notes": "", "versus": "aspcore" }, - "utf8json": { - "json_url": "/json", - "port": 8080, - "approach": "Realistic", - "classification": "Micro", - "database": "None", - "framework": "giraffe", - "language": "F#", - "orm": "Raw", - "platform": ".NET", - "flavor": "CoreCLR", - "webserver": "Kestrel", - "os": "Linux", - "database_os": "Linux", - "display_name": "Giraffe, Utf8Json", - "notes": "", - "versus": "aspcore" - }, "newtonsoft": { "json_url": "/json", "port": 8080, diff --git a/frameworks/FSharp/giraffe/giraffe-utf8json.dockerfile b/frameworks/FSharp/giraffe/giraffe-utf8json.dockerfile deleted file mode 100644 index 033d6fb8d6c..00000000000 --- a/frameworks/FSharp/giraffe/giraffe-utf8json.dockerfile +++ /dev/null @@ -1,19 +0,0 @@ -FROM mcr.microsoft.com/dotnet/sdk:8.0.100 AS build -WORKDIR /app -COPY src/App . -RUN dotnet publish -c Release -o out - -FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime -ENV ASPNETCORE_URLS http://+:8080 - -# Full PGO -ENV DOTNET_TieredPGO 1 -ENV DOTNET_TC_QuickJitForLoops 1 -ENV DOTNET_ReadyToRun 0 - -WORKDIR /app -COPY --from=build /app/out ./ - -EXPOSE 8080 - -ENTRYPOINT ["dotnet", "App.dll", "utf8"] diff --git a/frameworks/FSharp/zebra/README.md b/frameworks/FSharp/zebra/README.md index 744b571dba1..0dfe791d8cc 100644 --- a/frameworks/FSharp/zebra/README.md +++ b/frameworks/FSharp/zebra/README.md @@ -7,7 +7,7 @@ Zebra is a new F# functional Asp.net Framework Wrapper that utalises a shared st **Language** -* F# 6.0 +* F# 8.0 **Platforms**