Skip to content

Instantly share code, notes, and snippets.

@antonfirsov
Created February 12, 2017 22:59
Show Gist options
  • Save antonfirsov/23428d72f91e3e3fc145809504fff9e4 to your computer and use it in GitHub Desktop.
Save antonfirsov/23428d72f91e3e3fc145809504fff9e4 to your computer and use it in GitHub Desktop.

Reisize original:

                  Method |       Mean |    StdErr |    StdDev | Scaled | Scaled-StdDev | Allocated |

---------------------------- |----------- |---------- |---------- |------- |-------------- |---------- | 'System.Drawing Resize' | 55.7482 ms | 0.6225 ms | 2.4109 ms | 1.00 | 0.00 | 512 B | 'ImageSharp Resize' | 28.7155 ms | 0.0552 ms | 0.2138 ms | 0.52 | 0.02 | 187.04 kB | 'ImageSharp Compand Resize' | 58.1706 ms | 0.3284 ms | 1.2717 ms | 1.05 | 0.05 | 186.67 kB |

After:

                  Method |       Mean |    StdDev |     Median | Scaled | Scaled-StdDev | Allocated |

---------------------------- |----------- |---------- |----------- |------- |-------------- |---------- | 'System.Drawing Resize' | 54.7520 ms | 2.1108 ms | 54.1491 ms | 1.00 | 0.00 | 512 B | 'ImageSharp Resize' | 14.1205 ms | 0.7021 ms | 13.7397 ms | 0.26 | 0.02 | 27.53 kB | 'ImageSharp Compand Resize' | 54.1374 ms | 0.4158 ms | 54.0328 ms | 0.99 | 0.04 | 27.52 kB |

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment