An open API service indexing awesome lists of open source software.

https://github.com/gpreviatti/benchmarks-dotnet

Simple project with some benchmarks against different libraries
https://github.com/gpreviatti/benchmarks-dotnet

automapper benchmark dotnet httpclient json-serialization mappers newtonsoft-json refit

Last synced: about 1 month ago
JSON representation

Simple project with some benchmarks against different libraries

Awesome Lists containing this project

README

          

# Solution with BenchMarks tests

Simpple solution with some benchmarks for some of the most used libraries and packages in dotnet

- `ListsAndSpans`: compares iteration/sum performance across arrays, List, interface-based collections, and Span. Results showed that Span is fastest, followed by arrays then List, while interface-based iteration incurs significant overhead. See the detailed report in `ListsAndSpans/BenchmarkDotNet.Artifacts/results`.

## Results

[JsonConverter x JsonSerializer x Protobuffer](./JsonCerverterxJsonSerializerxProtobuffer)

[HttpClient x Refit](./HttpClientxRefit)

[Mappers Libraries](./Mappers)

[Database Frameworks](./DatabaseFrameworks)

[Class x Struct x Record](./ClassStructRecord)

[Lists and Spans](./ListsAndSpans) – detailed benchmarks and HTML report available in the project directory.