Skip to content

.NET Core Benchmarks

Eirik Tsarpalis edited this page Mar 25, 2018 · 3 revisions

FsPickler benchmarks compared to other popular serialization libraries in .NET Core. The following libraries are tested:

Last updated March 2018.

Profile

BenchmarkDotNet=v0.10.13, OS=Windows 10 Redstone 3 [1709, Fall Creators Update] (10.0.16299.251)
Intel Core i7-6500U CPU 2.50GHz (Skylake), 1 CPU, 4 logical cores and 2 physical cores
Frequency=2531258 Hz, Resolution=395.0605 ns, Timer=TSC
.NET Core SDK=2.1.103
  [Host]     : .NET Core 2.0.6 (CoreCLR 4.6.26212.01, CoreFX 4.6.26212.01), 64bit RyuJIT DEBUG
  DefaultJob : .NET Core 2.0.6 (CoreCLR 4.6.26212.01, CoreFX 4.6.26212.01), 64bit RyuJIT

Benchmark definitions can be found here. Libraries that failed serialization are not rendered in the plots.

Simple POCO Roundtrip

F# list Roundtrip

Array Roundtrip

Boxed Array Roundtrip

3D Array Roundtrip

F# Binary Tree Roundtrip

F# Set Roundtrip

F# Map Roundtrip

ISerializable Class Roundtrip

Dictionary Roundtrip

Exception Roundtrip

F# Closure Roundtrip

F# Closure Roundtrip

Object graph with Cycles Roundtrip

Large F# value Roundtrip

Large Tuple Roundtrip

MethodInfo Roundtrip

F# Quotation Roundtrip