Updated benchmark results.

This commit is contained in:
Kirill Kuzminykh
2023-01-29 01:58:59 +04:00
parent 4f83db93e1
commit 5c08df052a
5 changed files with 115 additions and 111 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
all type of images exclude `I32` and `F32`
(thanks to @cdmurph32, [#11](https://github.com/Cykooz/fast_image_resize/pull/11)).
## Benchmarks
### Benchmarks
- Benchmark framework `glassbench` replaced by `criterion`.
- Added report with results of benchmarks for `wasm32-wasi` target.
+21 -21
View File
@@ -25,19 +25,19 @@ Supported pixel formats and available optimisations:
## Colorspace
Resizer from this crate does not convert image into linear colorspace
during resize process. If it is important for you to resize images with a
non-linear color space (e.g. sRGB) correctly, then you hove to convert
it to a linear color space before resizing and convert back to the color space of
Resizer from this crate does not convert image into linear colorspace
during resize process. If it is important for you to resize images with a
non-linear color space (e.g. sRGB) correctly, then you hove to convert
it to a linear color space before resizing and convert back to the color space of
result image. [Read more](https://legacy.imagemagick.org/Usage/resize/#resize_colorspace)
about resizing with respect to color space.
This crate provides the
[PixelComponentMapper](https://docs.rs/fast_image_resize/latest/fast_image_resize/struct.PixelComponentMapper.html)
structure that allows you to create colorspace converters for images
structure that allows you to create colorspace converters for images
whose pixels based on `u8` and `u16` components.
In addition, the crate contains functions `create_gamma_22_mapper()`
In addition, the crate contains functions `create_gamma_22_mapper()`
and `create_srgb_mapper()` to create instance of `PixelComponentMapper`
that converts images from sRGB or gamma 2.2 into linear colorspace and back.
@@ -46,7 +46,7 @@ that converts images from sRGB or gamma 2.2 into linear colorspace and back.
- [All x86_64 benchmarks.](https://github.com/Cykooz/fast_image_resize/blob/main/benchmarks-x86_64.md)
- [All arm64 benchmarks.](https://github.com/Cykooz/fast_image_resize/blob/main/benchmarks-arm64.md)
- [All wasm32 benchmarks.](https://github.com/Cykooz/fast_image_resize/blob/main/benchmarks-wasm32.md)
-
Rust libraries used to compare of resizing speed:
- image (<https://crates.io/crates/image>)
@@ -64,11 +64,11 @@ Pipeline:
<!-- bench_compare_rgb start -->
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|------------|:-------:|:--------:|:----------:|:--------:|
| image | 18.74 | 80.85 | 138.40 | 196.43 |
| resize | - | 48.75 | 97.45 | 145.80 |
| fir rust | 0.28 | 38.90 | 78.31 | 111.49 |
| fir sse4.1 | - | 9.92 | 14.35 | 20.07 |
| fir avx2 | - | 7.82 | 9.90 | 14.48 |
| image | 18.53 | 80.66 | 137.96 | 196.04 |
| resize | - | 46.50 | 91.78 | 136.27 |
| fir rust | 0.28 | 38.94 | 78.10 | 111.35 |
| fir sse4.1 | - | 9.88 | 14.22 | 20.09 |
| fir avx2 | - | 7.79 | 9.90 | 14.47 |
<!-- bench_compare_rgb end -->
### Resize RGBA8 image (U8x4) 4928x3279 => 852x567
@@ -85,10 +85,10 @@ Pipeline:
<!-- bench_compare_rgba start -->
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|------------|:-------:|:--------:|:----------:|:--------:|
| resize | - | 73.08 | 137.79 | 201.39 |
| fir rust | 0.19 | 34.74 | 47.92 | 68.65 |
| fir sse4.1 | - | 13.03 | 17.35 | 22.69 |
| fir avx2 | - | 9.43 | 11.88 | 16.38 |
| resize | - | 74.49 | 137.62 | 202.75 |
| fir rust | 0.19 | 37.75 | 54.07 | 76.86 |
| fir sse4.1 | - | 13.13 | 17.33 | 22.57 |
| fir avx2 | - | 9.55 | 12.07 | 16.47 |
<!-- bench_compare_rgba end -->
### Resize L8 image (U8) 4928x3279 => 852x567
@@ -104,11 +104,11 @@ Pipeline:
<!-- bench_compare_l start -->
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|------------|:-------:|:--------:|:----------:|:--------:|
| image | 16.07 | 47.59 | 74.81 | 102.84 |
| resize | - | 17.09 | 35.49 | 60.93 |
| fir rust | 0.15 | 13.59 | 15.52 | 23.87 |
| fir sse4.1 | - | 5.00 | 5.31 | 8.07 |
| fir avx2 | - | 7.11 | 5.19 | 8.58 |
| image | 15.77 | 47.29 | 74.58 | 102.36 |
| resize | - | 17.05 | 35.51 | 60.73 |
| fir rust | 0.15 | 13.61 | 15.48 | 23.84 |
| fir sse4.1 | - | 4.81 | 5.23 | 7.84 |
| fir avx2 | - | 6.66 | 4.99 | 8.17 |
<!-- bench_compare_l end -->
## Examples
+27 -27
View File
@@ -6,7 +6,7 @@ Environment:
- Ubuntu 22.04 (linux 5.15.0)
- Rust 1.67
- criterion = "0.4"
- fast_image_resize = "2.4.0"
- fast_image_resize = "2.5.0"
Other Rust libraries used to compare of resizing speed:
@@ -32,10 +32,10 @@ Pipeline:
<!-- bench_compare_rgb start -->
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|----------|:-------:|:--------:|:----------:|:--------:|
| image | 77.82 | 166.34 | 318.31 | 447.70 |
| resize | - | 89.95 | 179.26 | 265.28 |
| fir rust | 0.84 | 71.85 | 87.39 | 112.75 |
| fir neon | - | 42.56 | 57.11 | 81.74 |
| image | 82.04 | 170.39 | 323.54 | 455.59 |
| resize | - | 89.54 | 178.04 | 265.99 |
| fir rust | 0.89 | 72.03 | 87.92 | 112.94 |
| fir neon | - | 43.24 | 57.50 | 82.20 |
<!-- bench_compare_rgb end -->
### Resize RGBA8 image (U8x4) 4928x3279 => 852x567
@@ -52,9 +52,9 @@ Pipeline:
<!-- bench_compare_rgba start -->
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|----------|:-------:|:--------:|:----------:|:--------:|
| resize | - | 112.97 | 194.88 | 290.31 |
| fir rust | 0.90 | 94.03 | 108.22 | 155.51 |
| fir neon | - | 44.78 | 61.97 | 83.75 |
| resize | - | 114.42 | 197.39 | 290.99 |
| fir rust | 0.95 | 94.07 | 108.51 | 155.94 |
| fir neon | - | 44.72 | 61.65 | 84.19 |
<!-- bench_compare_rgba end -->
### Resize L8 image (U8) 4928x3279 => 852x567
@@ -70,10 +70,10 @@ Pipeline:
<!-- bench_compare_l start -->
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|----------|:-------:|:--------:|:----------:|:--------:|
| image | 73.09 | 101.52 | 172.02 | 240.76 |
| resize | - | 37.00 | 83.10 | 127.36 |
| fir rust | 0.50 | 29.73 | 37.61 | 45.57 |
| fir neon | - | 15.05 | 19.87 | 28.16 |
| image | 75.34 | 104.26 | 174.57 | 243.13 |
| resize | - | 37.87 | 83.74 | 128.46 |
| fir rust | 0.50 | 29.85 | 37.35 | 45.96 |
| fir neon | - | 15.09 | 20.09 | 28.27 |
<!-- bench_compare_l end -->
### Resize LA8 image (U8x2) 4928x3279 => 852x567
@@ -92,8 +92,8 @@ Pipeline:
<!-- bench_compare_la start -->
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|----------|:-------:|:--------:|:----------:|:--------:|
| fir rust | 0.66 | 60.16 | 75.12 | 72.12 |
| fir neon | - | 34.04 | 38.78 | 54.64 |
| fir rust | 0.70 | 60.50 | 75.23 | 72.11 |
| fir neon | - | 34.26 | 39.25 | 54.73 |
<!-- bench_compare_la end -->
### Resize RGB16 image (U16x3) 4928x3279 => 852x567
@@ -109,10 +109,10 @@ Pipeline:
<!-- bench_compare_rgb16 start -->
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|----------|:-------:|:--------:|:----------:|:--------:|
| image | 81.46 | 160.19 | 321.65 | 467.87 |
| resize | - | 89.82 | 178.05 | 265.63 |
| fir rust | 1.34 | 147.53 | 275.24 | 393.69 |
| fir neon | - | 74.69 | 93.43 | 128.71 |
| image | 85.61 | 167.17 | 331.31 | 479.45 |
| resize | - | 90.45 | 179.51 | 267.39 |
| fir rust | 1.37 | 148.73 | 275.24 | 393.32 |
| fir neon | - | 70.44 | 92.62 | 128.94 |
<!-- bench_compare_rgb16 end -->
### Resize RGBA16 image (U16x4) 4928x3279 => 852x567
@@ -129,9 +129,9 @@ Pipeline:
<!-- bench_compare_rgba16 start -->
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|----------|:-------:|:--------:|:----------:|:--------:|
| resize | - | 117.12 | 199.91 | 299.59 |
| fir rust | 1.47 | 202.72 | 366.54 | 521.53 |
| fir neon | - | 77.87 | 117.41 | 159.86 |
| resize | - | 119.14 | 202.43 | 301.05 |
| fir rust | 1.49 | 203.02 | 366.89 | 521.69 |
| fir neon | - | 77.88 | 118.26 | 159.35 |
<!-- bench_compare_rgba16 end -->
### Resize L16 image (U16) 4928x3279 => 852x567
@@ -147,10 +147,10 @@ Pipeline:
<!-- bench_compare_l16 start -->
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|----------|:-------:|:--------:|:----------:|:--------:|
| image | 72.40 | 108.05 | 185.31 | 257.56 |
| resize | - | 40.61 | 63.90 | 86.94 |
| fir rust | 0.60 | 57.44 | 95.16 | 135.22 |
| fir neon | - | 17.43 | 26.64 | 37.89 |
| image | 73.89 | 110.24 | 185.96 | 260.32 |
| resize | - | 41.82 | 64.05 | 88.11 |
| fir rust | 0.62 | 57.53 | 95.11 | 134.94 |
| fir neon | - | 17.47 | 26.87 | 37.82 |
<!-- bench_compare_l16 end -->
### Resize LA16 (luma with alpha channel) image (U16x2) 4928x3279 => 852x567
@@ -169,6 +169,6 @@ Pipeline:
<!-- bench_compare_la16 start -->
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|----------|:-------:|:--------:|:----------:|:--------:|
| fir rust | 0.93 | 106.84 | 192.33 | 271.30 |
| fir neon | - | 35.80 | 53.86 | 73.44 |
| fir rust | 0.94 | 106.88 | 192.68 | 271.72 |
| fir neon | - | 35.87 | 53.97 | 74.00 |
<!-- bench_compare_la16 end -->
+31 -27
View File
@@ -8,7 +8,7 @@ Environment:
- Rust 1.67
- wasmtime = "5.0.0"
- criterion = "0.4"
- fast_image_resize = "2.4.0"
- fast_image_resize = "2.5.0"
Other Rust libraries used to compare of resizing speed:
@@ -32,11 +32,12 @@ Pipeline:
- Numbers in table is mean duration of image resizing in milliseconds.
<!-- bench_compare_rgb start -->
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|----------|:-------:|:--------:|:----------:|:--------:|
| image | 25.52 | 146.82 | 268.35 | 391.29 |
| resize | - | 84.92 | 166.80 | 247.48 |
| fir rust | 0.37 | 50.56 | 88.08 | 126.30 |
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|-------------|:-------:|:--------:|:----------:|:--------:|
| image | 30.54 | 182.53 | 333.69 | 485.57 |
| resize | - | 85.65 | 166.46 | 248.04 |
| fir rust | 0.37 | 56.17 | 95.14 | 136.15 |
| fir simd128 | - | 16.32 | 23.87 | 33.97 |
<!-- bench_compare_rgb end -->
### Resize RGBA8 image (U8x4) 4928x3279 => 852x567
@@ -53,8 +54,8 @@ Pipeline:
<!-- bench_compare_rgba start -->
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|----------|:-------:|:--------:|:----------:|:--------:|
| resize | - | 109.02 | 216.79 | 325.27 |
| fir rust | 0.25 | 112.21 | 174.85 | 239.34 |
| resize | - | 106.79 | 204.81 | 309.52 |
| fir rust | 0.27 | 107.92 | 162.37 | 218.41 |
<!-- bench_compare_rgba end -->
### Resize L8 image (U8) 4928x3279 => 852x567
@@ -68,11 +69,12 @@ Pipeline:
- Numbers in table is mean duration of image resizing in milliseconds.
<!-- bench_compare_l start -->
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|----------|:-------:|:--------:|:----------:|:--------:|
| image | 55.66 | 203.36 | 379.55 | 525.72 |
| resize | - | 45.42 | 84.39 | 122.73 |
| fir rust | 0.29 | 35.84 | 58.16 | 81.65 |
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|-------------|:-------:|:--------:|:----------:|:--------:|
| image | 26.91 | 149.62 | 270.65 | 402.29 |
| resize | - | 24.86 | 46.99 | 69.49 |
| fir rust | 0.21 | 25.26 | 40.43 | 56.80 |
| fir simd128 | - | 7.66 | 8.62 | 12.87 |
<!-- bench_compare_l end -->
### Resize LA8 image (U8x2) 4928x3279 => 852x567
@@ -91,7 +93,7 @@ Pipeline:
<!-- bench_compare_la start -->
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|----------|:-------:|:--------:|:----------:|:--------:|
| fir rust | 0.24 | 58.38 | 87.21 | 116.68 |
| fir rust | 0.24 | 58.78 | 88.65 | 117.81 |
<!-- bench_compare_la end -->
### Resize RGB16 image (U16x3) 4928x3279 => 852x567
@@ -105,11 +107,12 @@ Pipeline:
- Numbers in table is mean duration of image resizing in milliseconds.
<!-- bench_compare_rgb16 start -->
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|----------|:-------:|:--------:|:----------:|:--------:|
| image | 25.65 | 155.69 | 284.54 | 413.21 |
| resize | - | 88.44 | 172.07 | 258.84 |
| fir rust | 0.40 | 57.66 | 97.19 | 138.74 |
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|-------------|:-------:|:--------:|:----------:|:--------:|
| image | 30.21 | 183.61 | 334.87 | 485.75 |
| resize | - | 54.97 | 106.92 | 158.51 |
| fir rust | 0.42 | 63.58 | 105.10 | 146.28 |
| fir simd128 | - | 59.84 | 104.52 | 151.31 |
<!-- bench_compare_rgb16 end -->
### Resize RGBA16 image (U16x4) 4928x3279 => 852x567
@@ -126,8 +129,8 @@ Pipeline:
<!-- bench_compare_rgba16 start -->
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|----------|:-------:|:--------:|:----------:|:--------:|
| resize | - | 111.25 | 219.73 | 328.47 |
| fir rust | 0.42 | 112.28 | 169.04 | 228.52 |
| resize | - | 80.98 | 158.27 | 230.59 |
| fir rust | 0.42 | 117.66 | 171.42 | 227.46 |
<!-- bench_compare_rgba16 end -->
### Resize L16 image (U16) 4928x3279 => 852x567
@@ -141,11 +144,12 @@ Pipeline:
- Numbers in table is mean duration of image resizing in milliseconds.
<!-- bench_compare_l16 start -->
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|----------|:-------:|:--------:|:----------:|:--------:|
| image | 22.20 | 129.91 | 236.08 | 342.27 |
| resize | - | 30.63 | 60.99 | 91.22 |
| fir rust | 0.25 | 27.74 | 43.73 | 61.72 |
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|-------------|:-------:|:--------:|:----------:|:--------:|
| image | 27.74 | 174.53 | 315.94 | 471.17 |
| resize | - | 30.87 | 61.00 | 91.44 |
| fir rust | 0.25 | 28.48 | 44.72 | 62.67 |
| fir simd128 | - | 20.61 | 33.51 | 48.61 |
<!-- bench_compare_l16 end -->
### Resize LA16 (luma with alpha channel) image (U16x2) 4928x3279 => 852x567
@@ -164,5 +168,5 @@ Pipeline:
<!-- bench_compare_la16 start -->
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|----------|:-------:|:--------:|:----------:|:--------:|
| fir rust | 0.25 | 59.93 | 95.26 | 131.62 |
| fir rust | 0.26 | 58.50 | 87.86 | 117.28 |
<!-- bench_compare_la16 end -->
+35 -35
View File
@@ -7,7 +7,7 @@ Environment:
- Ubuntu 22.04 (linux 5.15.0)
- Rust 1.67
- criterion = "0.4"
- fast_image_resize = "2.4.0"
- fast_image_resize = "2.5.0"
Other Rust libraries used to compare of resizing speed:
@@ -33,11 +33,11 @@ Pipeline:
<!-- bench_compare_rgb start -->
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|------------|:-------:|:--------:|:----------:|:--------:|
| image | 18.74 | 80.85 | 138.40 | 196.43 |
| resize | - | 48.75 | 97.45 | 145.80 |
| fir rust | 0.28 | 38.90 | 78.31 | 111.49 |
| fir sse4.1 | - | 9.92 | 14.35 | 20.07 |
| fir avx2 | - | 7.82 | 9.90 | 14.48 |
| image | 18.53 | 80.66 | 137.96 | 196.04 |
| resize | - | 46.50 | 91.78 | 136.27 |
| fir rust | 0.28 | 38.94 | 78.10 | 111.35 |
| fir sse4.1 | - | 9.88 | 14.22 | 20.09 |
| fir avx2 | - | 7.79 | 9.90 | 14.47 |
<!-- bench_compare_rgb end -->
### Resize RGBA8 image (U8x4) 4928x3279 => 852x567
@@ -54,10 +54,10 @@ Pipeline:
<!-- bench_compare_rgba start -->
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|------------|:-------:|:--------:|:----------:|:--------:|
| resize | - | 73.08 | 137.79 | 201.39 |
| fir rust | 0.19 | 34.74 | 47.92 | 68.65 |
| fir sse4.1 | - | 13.03 | 17.35 | 22.69 |
| fir avx2 | - | 9.43 | 11.88 | 16.38 |
| resize | - | 74.49 | 137.62 | 202.75 |
| fir rust | 0.19 | 37.75 | 54.07 | 76.86 |
| fir sse4.1 | - | 13.13 | 17.33 | 22.57 |
| fir avx2 | - | 9.55 | 12.07 | 16.47 |
<!-- bench_compare_rgba end -->
### Resize L8 image (U8) 4928x3279 => 852x567
@@ -73,11 +73,11 @@ Pipeline:
<!-- bench_compare_l start -->
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|------------|:-------:|:--------:|:----------:|:--------:|
| image | 16.07 | 47.59 | 74.81 | 102.84 |
| resize | - | 17.09 | 35.49 | 60.93 |
| fir rust | 0.15 | 13.59 | 15.52 | 23.87 |
| fir sse4.1 | - | 5.00 | 5.31 | 8.07 |
| fir avx2 | - | 7.11 | 5.19 | 8.58 |
| image | 15.77 | 47.29 | 74.58 | 102.36 |
| resize | - | 17.05 | 35.51 | 60.73 |
| fir rust | 0.15 | 13.61 | 15.48 | 23.84 |
| fir sse4.1 | - | 4.81 | 5.23 | 7.84 |
| fir avx2 | - | 6.66 | 4.99 | 8.17 |
<!-- bench_compare_l end -->
### Resize LA8 image (U8x2) 4928x3279 => 852x567
@@ -96,9 +96,9 @@ Pipeline:
<!-- bench_compare_la start -->
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|------------|:-------:|:--------:|:----------:|:--------:|
| fir rust | 0.17 | 24.66 | 28.86 | 39.83 |
| fir sse4.1 | - | 12.72 | 14.20 | 17.78 |
| fir avx2 | - | 8.74 | 9.76 | 12.42 |
| fir rust | 0.17 | 25.78 | 30.41 | 43.01 |
| fir sse4.1 | - | 12.63 | 14.26 | 17.86 |
| fir avx2 | - | 8.73 | 9.68 | 12.41 |
<!-- bench_compare_la end -->
### Resize RGB16 image (U16x3) 4928x3279 => 852x567
@@ -114,11 +114,11 @@ Pipeline:
<!-- bench_compare_rgb16 start -->
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|------------|:-------:|:--------:|:----------:|:--------:|
| image | 18.97 | 74.21 | 138.04 | 186.05 |
| resize | - | 45.81 | 89.88 | 132.87 |
| fir rust | 0.33 | 42.44 | 71.39 | 99.56 |
| fir sse4.1 | - | 24.64 | 39.98 | 56.36 |
| fir avx2 | - | 20.22 | 30.88 | 37.19 |
| image | 18.84 | 74.16 | 124.67 | 176.08 |
| resize | - | 45.79 | 90.08 | 133.74 |
| fir rust | 0.34 | 43.47 | 79.63 | 114.34 |
| fir sse4.1 | - | 24.51 | 39.97 | 56.39 |
| fir avx2 | - | 19.89 | 29.93 | 36.10 |
<!-- bench_compare_rgb16 end -->
### Resize RGBA16 image (U16x4) 4928x3279 => 852x567
@@ -135,10 +135,10 @@ Pipeline:
<!-- bench_compare_rgba16 start -->
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|------------|:-------:|:--------:|:----------:|:--------:|
| resize | - | 71.04 | 133.27 | 194.32 |
| fir rust | 0.36 | 80.55 | 118.26 | 158.83 |
| fir sse4.1 | - | 43.41 | 65.24 | 87.44 |
| fir avx2 | - | 25.79 | 36.47 | 47.91 |
| resize | - | 71.61 | 133.83 | 196.60 |
| fir rust | 0.33 | 80.52 | 118.32 | 159.08 |
| fir sse4.1 | - | 43.59 | 65.40 | 87.52 |
| fir avx2 | - | 25.80 | 37.04 | 48.59 |
<!-- bench_compare_rgba16 end -->
### Resize L16 image (U16) 4928x3279 => 852x567
@@ -154,11 +154,11 @@ Pipeline:
<!-- bench_compare_l16 start -->
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|------------|:-------:|:--------:|:----------:|:--------:|
| image | 15.89 | 47.75 | 75.79 | 104.00 |
| resize | - | 15.42 | 31.89 | 57.14 |
| fir rust | 0.17 | 18.66 | 27.70 | 38.69 |
| fir sse4.1 | - | 8.14 | 13.64 | 19.35 |
| fir avx2 | - | 6.65 | 8.84 | 13.98 |
| image | 16.13 | 47.80 | 75.63 | 104.82 |
| resize | - | 15.38 | 31.74 | 57.08 |
| fir rust | 0.17 | 19.26 | 29.34 | 41.26 |
| fir sse4.1 | - | 8.14 | 13.57 | 19.33 |
| fir avx2 | - | 6.64 | 8.80 | 13.96 |
<!-- bench_compare_l16 end -->
### Resize LA16 (luma with alpha channel) image (U16x2) 4928x3279 => 852x567
@@ -177,7 +177,7 @@ Pipeline:
<!-- bench_compare_la16 start -->
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|------------|:-------:|:--------:|:----------:|:--------:|
| fir rust | 0.19 | 33.55 | 52.91 | 72.29 |
| fir sse4.1 | - | 21.98 | 34.08 | 46.66 |
| fir avx2 | - | 15.28 | 21.92 | 29.29 |
| fir rust | 0.19 | 34.52 | 53.05 | 71.72 |
| fir sse4.1 | - | 22.05 | 34.18 | 46.79 |
| fir avx2 | - | 15.28 | 22.01 | 29.28 |
<!-- bench_compare_la16 end -->