Skip to content

Latest commit

 

History

History
226 lines (174 loc) · 21 KB

BENCHMARKS.LATENCY.md

File metadata and controls

226 lines (174 loc) · 21 KB

Smoosh.Latency Benchmarks

BenchmarkDotNet=v0.13.2, OS=debian 11
AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx, 1 CPU, 8 logical and 4 physical cores
.NET SDK=6.0.403
  [Host]     : .NET 6.0.11 (6.0.1122.52304), X64 RyuJIT AVX2 DEBUG
  DefaultJob : .NET 6.0.11 (6.0.1122.52304), X64 RyuJIT AVX2

bool []

Method Mean Error StdDev Ratio RatioSD
Bench00000 328.7 ns 6.54 ns 12.91 ns 1.00 0.00
Bench05500 28,027.8 ns 558.05 ns 548.08 ns 85.56 4.91
Bench11000 54,951.5 ns 675.98 ns 632.31 ns 168.15 8.41

int []

Method Mean Error StdDev Ratio RatioSD
Bench000 323.5 ns 6.44 ns 11.61 ns 1.00 0.00
Bench175 5,993.4 ns 118.63 ns 255.37 ns 18.61 0.88
Bench350 11,006.6 ns 205.16 ns 325.40 ns 33.99 1.63

int list

Method Mean Error StdDev Ratio RatioSD
Bench000 311.5 ns 13.26 ns 38.27 ns 1.00 0.00
Bench175 6,960.9 ns 141.14 ns 413.93 ns 22.68 3.17
Bench350 12,965.0 ns 257.98 ns 752.53 ns 42.24 5.41

int set

Method Mean Error StdDev Ratio RatioSD
Bench000 399.7 ns 17.86 ns 51.82 ns 1.00 0.00
Bench175 8,834.0 ns 174.87 ns 454.51 ns 22.22 2.91
Bench350 16,306.8 ns 323.98 ns 454.18 ns 40.76 5.63

float []

Method Mean Error StdDev Ratio RatioSD
Bench000 326.3 ns 6.54 ns 11.62 ns 1.00 0.00
Bench087 4,580.2 ns 90.22 ns 143.09 ns 14.06 0.73
Bench175 8,897.3 ns 174.53 ns 266.52 ns 27.38 1.22

float list

Method Mean Error StdDev Ratio RatioSD
Bench000 282.8 ns 5.64 ns 13.07 ns 1.00 0.00
Bench087 4,793.5 ns 94.84 ns 158.45 ns 16.79 0.82
Bench175 9,069.8 ns 179.89 ns 300.55 ns 31.79 1.85

float set

Method Mean Error StdDev Ratio RatioSD
Bench000 340.0 ns 6.75 ns 10.31 ns 1.00 0.00
Bench087 5,965.6 ns 113.27 ns 105.95 ns 17.67 0.67
Bench175 11,425.4 ns 194.56 ns 216.26 ns 33.80 1.25

SmallPerson

Method Mean Error StdDev Ratio
Person1 661.1 ns 13.09 ns 17.92 ns 1.00

LargePerson

Method Mean Error StdDev
Person1 6.899 μs 0.1122 μs 0.0995 μs
Person2 6.701 μs 0.1283 μs 0.1200 μs
Person3 6.859 μs 0.1366 μs 0.1402 μs

WideRecord

Method Mean Error StdDev Ratio RatioSD
Record1 278.9 ns 5.54 ns 10.26 ns 1.00 0.00
Record2 359.9 ns 7.21 ns 8.58 ns 1.29 0.06
Record3 498.8 ns 9.89 ns 14.81 ns 1.78 0.09

NestedRecord

Method Mean Error StdDev Ratio RatioSD
Nested01 319.6 ns 6.35 ns 10.43 ns 1.00 0.00
Nested05 599.5 ns 12.02 ns 26.14 ns 1.87 0.09
Nested10 854.4 ns 16.36 ns 19.48 ns 2.68 0.11

Tree

Method Mean Error StdDev Ratio RatioSD
LeafBench 177.8 ns 3.54 ns 6.00 ns 1.00 0.00
Tree01Bench 265.4 ns 5.24 ns 8.89 ns 1.49 0.07
Tree05Bench 2,647.4 ns 52.79 ns 54.21 ns 15.05 0.80
Tree10Bench 75,021.9 ns 1,084.52 ns 905.63 ns 427.07 19.57

Tree Enc & Dec

Method Mean Error StdDev Median Ratio RatioSD
LeafBench 273.5 ns 5.39 ns 9.01 ns 276.6 ns 1.00 0.00
Tree01Bench 629.5 ns 12.60 ns 14.00 ns 633.2 ns 2.32 0.09
Tree05Bench 11,132.1 ns 269.35 ns 789.94 ns 10,800.3 ns 40.93 3.26
Tree10Bench 340,358.3 ns 6,529.61 ns 8,490.34 ns 337,617.1 ns 1,250.11 55.08