Dustin Moris Gorski bf92a9bd02 Updated Benchmarks to use latest recommended Giraffe version (#6198) 4 years ago
..
src bf92a9bd02 Updated Benchmarks to use latest recommended Giraffe version (#6198) 4 years ago
.gitignore bf92a9bd02 Updated Benchmarks to use latest recommended Giraffe version (#6198) 4 years ago
README.md bf92a9bd02 Updated Benchmarks to use latest recommended Giraffe version (#6198) 4 years ago
benchmark_config.json bf92a9bd02 Updated Benchmarks to use latest recommended Giraffe version (#6198) 4 years ago
giraffe-newtonsoft.dockerfile bf92a9bd02 Updated Benchmarks to use latest recommended Giraffe version (#6198) 4 years ago
giraffe-utf8json.dockerfile bf92a9bd02 Updated Benchmarks to use latest recommended Giraffe version (#6198) 4 years ago
giraffe.dockerfile bf92a9bd02 Updated Benchmarks to use latest recommended Giraffe version (#6198) 4 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# 5.0

Platforms

  • .NET 5 (Windows and Linux)

Web Servers

Web Stack

Paths & Source for Tests

All source code is inside Program.fs.

App listens for a signle command line argument to pick the desired JSON implementation:

- `system`: `System.Text.Json`
- `utf8`: `Utf8Json`
- `newtonsoft`: `Newtonsoft.Json`