Skip to content

Instantly share code, notes, and snippets.

@hypeartist
Created February 8, 2022 13:59
Show Gist options
  • Save hypeartist/182766002e955f1a134b81228723c6c2 to your computer and use it in GitHub Desktop.
Save hypeartist/182766002e955f1a134b81228723c6c2 to your computer and use it in GitHub Desktop.
BenchmarkDotNet=v0.13.1, OS=Windows 10.0.22000
Intel Core i7-4702MQ CPU 2.20GHz (Haswell), 1 CPU, 8 logical and 4 physical cores
.NET SDK=6.0.101
  [Host]   : .NET 6.0.1 (6.0.121.56705), X64 RyuJIT
  ShortRun : .NET 6.0.1 (6.0.121.56705), X64 RyuJIT

Job=ShortRun  Arguments=/p:DebugType=portable  IterationCount=5  
LaunchCount=1  WarmupCount=5  
Method Mean Error StdDev Ratio RatioSD Allocated native memory Native memory leak Gen 0 Gen 1 Gen 2 Allocated
'System.Drawing Resize' 14.433 ms 0.3237 ms 0.0841 ms 1.00 0.00 123,988 B - - - - 144 B
'ImageSharp Resize' 4.497 ms 0.1251 ms 0.0325 ms 0.31 0.00 - - - - - 10,217 B
'ImageMagick Resize' 71.263 ms 1.6058 ms 0.4170 ms 4.94 0.03 8,853,393 B - - - - 5,396 B
'FreeImage Resize' 11.353 ms 0.3102 ms 0.0806 ms 0.79 0.01 3,785,021 B - 500.0000 500.0000 500.0000 312 B
'MagicScaler Resize' 1.637 ms 0.0041 ms 0.0011 ms 0.11 0.00 - - - - - 1,658 B
'SkiaSharp Canvas Resize' 2.502 ms 0.1915 ms 0.0497 ms 0.17 0.00 5,888,000 B 5,680 B - - - 1,586 B
'SkiaSharp Bitmap Resize' 2.613 ms 0.0271 ms 0.0070 ms 0.18 0.00 5,947,880 B 5,680 B - - - 490 B
'NetVips Resize' 7.549 ms 0.3503 ms 0.0910 ms 0.52 0.01 1,012,785 B 46,060 B - - - 3,867 B
BenchmarkDotNet=v0.13.1, OS=Windows 10.0.22000
Intel Core i7-4702MQ CPU 2.20GHz (Haswell), 1 CPU, 8 logical and 4 physical cores
.NET SDK=6.0.101
  [Host]   : .NET 6.0.1 (6.0.121.56705), X64 RyuJIT
  ShortRun : .NET 6.0.1 (6.0.121.56705), X64 RyuJIT

Job=ShortRun  Arguments=/p:DebugType=portable  IterationCount=5  
LaunchCount=1  WarmupCount=5  
Method Mean Error StdDev Ratio Allocated native memory Native memory leak Gen 0 Gen 1 Gen 2 Allocated
'System.Drawing Load, Resize, Save' 542.2 ms 16.23 ms 2.51 ms 1.00 11,367 KB 738 KB - - - 10 KB
'ImageSharp Load, Resize, Save' 226.3 ms 38.99 ms 6.03 ms 0.42 8 KB - 333.3333 - - 1,493 KB
'ImageMagick Load, Resize, Save' 600.0 ms 11.82 ms 3.07 ms 1.10 61,501 KB - - - - 52 KB
'ImageFree Load, Resize, Save' 371.2 ms 5.26 ms 1.37 ms 0.68 49,135 KB 58 KB 6000.0000 6000.0000 6000.0000 93 KB
'MagicScaler Load, Resize, Save' 102.5 ms 1.08 ms 0.17 ms 0.19 3,086 KB 178 KB - - - 145 KB
'SkiaSharp Canvas Load, Resize, Save' 394.8 ms 7.63 ms 1.18 ms 0.73 69,708 KB 1,662 KB - - - 99 KB
'SkiaSharp Bitmap Load, Resize, Save' 391.6 ms 5.19 ms 0.80 ms 0.72 70,422 KB 949 KB - - - 85 KB
'NetVips Load, Resize, Save' 157.7 ms 6.43 ms 1.67 ms 0.29 33,016 KB 0 KB - - - 46 KB
BenchmarkDotNet=v0.13.1, OS=Windows 10.0.22000
Intel Core i7-4702MQ CPU 2.20GHz (Haswell), 1 CPU, 8 logical and 4 physical cores
.NET SDK=6.0.101
  [Host]   : .NET 6.0.1 (6.0.121.56705), X64 RyuJIT
  ShortRun : .NET 6.0.1 (6.0.121.56705), X64 RyuJIT

Job=ShortRun  Arguments=/p:DebugType=portable  IterationCount=5  
LaunchCount=1  WarmupCount=5  
Method Mean Error StdDev Ratio RatioSD Allocated native memory Native memory leak Gen 0 Gen 1 Gen 2 Allocated
'System.Drawing Load, Resize, Save - Parallel' 243.63 ms 22.605 ms 5.871 ms 1.00 0.00 1,485 KB 75 KB - - - 30 KB
'ImageSharp Load, Resize, Save - Parallel' 63.17 ms 9.940 ms 2.581 ms 0.26 0.01 4 KB - - - - 1,512 KB
'ImageMagick Load, Resize, Save - Parallel' 189.27 ms 152.762 ms 23.640 ms 0.78 0.10 5,534 KB - - - - 71 KB
'ImageFree Load, Resize, Save - Parallel' 108.96 ms 43.055 ms 6.663 ms 0.45 0.03 4,445 KB 70 KB 3600.0000 3600.0000 3600.0000 113 KB
'MagicScaler Load, Resize, Save - Parallel' 30.74 ms 1.490 ms 0.387 ms 0.13 0.00 209 KB 14 KB - - - 171 KB
'SkiaSharp Canvas Load, Resize, Save - Parallel' 104.09 ms 19.363 ms 5.028 ms 0.43 0.03 10,032 KB 104 KB - - - 119 KB
'SkiaSharp Bitmap Load, Resize, Save - Parallel' 104.22 ms 24.810 ms 6.443 ms 0.43 0.03 12,663 KB 6 KB - - - 104 KB
'NetVips Load, Resize, Save - Parallel' 63.34 ms 13.962 ms 2.161 ms 0.26 0.01 2,732 KB 391 KB - - - 68 KB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment