Stuart Lang e0cd4641c4 Enable Giraffe .NET 6 optimizations (#6923) 3 years ago
..
src b2a71a1740 Bump Giraffe version and clear logging providers (#6927) 3 years ago
.gitignore bf92a9bd02 Updated Benchmarks to use latest recommended Giraffe version (#6198) 4 years ago
README.md be20753c93 Update giraffe sample to .NET 6 alpha (#6891) 3 years ago
benchmark_config.json bf92a9bd02 Updated Benchmarks to use latest recommended Giraffe version (#6198) 4 years ago
config.toml 0096f84ee9 Config for the new toolset (#6259) 4 years ago
giraffe-newtonsoft.dockerfile e0cd4641c4 Enable Giraffe .NET 6 optimizations (#6923) 3 years ago
giraffe-utf8json.dockerfile e0cd4641c4 Enable Giraffe .NET 6 optimizations (#6923) 3 years ago
giraffe.dockerfile e0cd4641c4 Enable Giraffe .NET 6 optimizations (#6923) 3 years ago

README.md

Giraffe Benchmarks on Linux

This application tests Giraffe in 3 modes:

  • Default: Using Giraffe's Endpoint Routing APIs with the System.Text.Json serializer
  • Utf8Json: Testing the JSON endpoint with the Utf8Json serializer
  • Newtonsoft: Testing the JSON endpoint with the NewtonsoftJson serializer

Infrastructure Software Versions

Language

  • F# 6.0

Platforms

  • .NET 6 (Windows and Linux)

Web Servers

Web Stack

Paths & Source for Tests

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`