mirror of
https://github.com/Cykooz/fast_image_resize.git
synced 2026-10-08 01:11:09 +00:00
Updated benchmark results for x86_64 and Wasm32
This commit is contained in:
@@ -75,12 +75,12 @@ Pipeline:
|
||||
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|------------|:-------:|:-----:|:--------:|:-------:|:--------:|
|
||||
| image | 34.13 | - | 88.09 | 142.99 | 191.80 |
|
||||
| resize | 8.87 | 26.97 | 53.08 | 98.26 | 145.74 |
|
||||
| libvips | 2.38 | 61.57 | 5.66 | 9.70 | 16.03 |
|
||||
| fir rust | 0.28 | 10.93 | 15.35 | 25.77 | 37.09 |
|
||||
| fir sse4.1 | 0.28 | 3.43 | 5.39 | 9.82 | 15.34 |
|
||||
| fir avx2 | 0.28 | 2.62 | 3.80 | 6.89 | 13.22 |
|
||||
| image | 29.28 | - | 83.28 | 136.97 | 189.93 |
|
||||
| resize | 7.42 | 26.82 | 49.29 | 93.22 | 140.26 |
|
||||
| libvips | 2.42 | 61.73 | 5.66 | 9.81 | 15.78 |
|
||||
| fir rust | 0.28 | 10.87 | 16.12 | 26.63 | 38.08 |
|
||||
| fir sse4.1 | 0.28 | 3.37 | 5.34 | 9.89 | 15.30 |
|
||||
| fir avx2 | 0.28 | 2.52 | 3.67 | 6.80 | 13.21 |
|
||||
|
||||
<!-- bench_compare_rgb end -->
|
||||
|
||||
@@ -99,11 +99,11 @@ Pipeline:
|
||||
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|------------|:-------:|:------:|:--------:|:-------:|:--------:|
|
||||
| resize | 9.90 | 37.85 | 74.20 | 133.72 | 201.29 |
|
||||
| libvips | 4.17 | 169.03 | 141.52 | 232.30 | 330.89 |
|
||||
| fir rust | 0.19 | 20.66 | 26.02 | 37.27 | 50.21 |
|
||||
| fir sse4.1 | 0.19 | 9.59 | 11.99 | 17.79 | 24.83 |
|
||||
| fir avx2 | 0.19 | 7.21 | 8.61 | 13.22 | 22.41 |
|
||||
| resize | 9.59 | 34.02 | 64.61 | 126.43 | 187.18 |
|
||||
| libvips | 4.19 | 169.02 | 142.22 | 228.64 | 330.24 |
|
||||
| fir rust | 0.19 | 20.30 | 25.25 | 36.57 | 49.69 |
|
||||
| fir sse4.1 | 0.19 | 9.51 | 11.90 | 17.78 | 24.49 |
|
||||
| fir avx2 | 0.19 | 7.11 | 8.39 | 13.68 | 21.72 |
|
||||
|
||||
<!-- bench_compare_rgba end -->
|
||||
|
||||
@@ -121,12 +121,12 @@ Pipeline:
|
||||
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|------------|:-------:|:-----:|:--------:|:-------:|:--------:|
|
||||
| image | 29.07 | - | 60.25 | 89.15 | 117.51 |
|
||||
| resize | 6.42 | 11.26 | 20.87 | 42.87 | 69.50 |
|
||||
| libvips | 2.57 | 25.05 | 6.82 | 9.85 | 12.68 |
|
||||
| fir rust | 0.15 | 4.45 | 5.57 | 9.02 | 12.31 |
|
||||
| fir sse4.1 | 0.15 | 1.52 | 2.09 | 3.52 | 5.65 |
|
||||
| fir avx2 | 0.15 | 1.54 | 1.76 | 2.80 | 4.03 |
|
||||
| image | 26.90 | - | 56.49 | 85.11 | 112.72 |
|
||||
| resize | 6.57 | 11.06 | 18.83 | 38.44 | 63.98 |
|
||||
| libvips | 2.62 | 24.92 | 6.81 | 9.84 | 12.73 |
|
||||
| fir rust | 0.16 | 4.42 | 5.45 | 8.69 | 12.04 |
|
||||
| fir sse4.1 | 0.16 | 1.45 | 2.02 | 3.37 | 5.44 |
|
||||
| fir avx2 | 0.16 | 1.51 | 1.73 | 2.74 | 4.11 |
|
||||
|
||||
<!-- bench_compare_l end -->
|
||||
|
||||
|
||||
+40
-40
@@ -6,16 +6,16 @@ Environment:
|
||||
|
||||
- CPU: AMD Ryzen 9 5950X
|
||||
- RAM: DDR4 4000 MHz
|
||||
- Ubuntu 24.04 (linux 6.8.0)
|
||||
- Rust 1.81.0
|
||||
- Ubuntu 24.04 (linux 6.11.0)
|
||||
- Rust 1.87.0
|
||||
- criterion = "0.5.1"
|
||||
- fast_image_resize = "5.0.0"
|
||||
- wasmtime = "25.0.1"
|
||||
- fast_image_resize = "5.1.4"
|
||||
- wasmtime = "32.0.0"
|
||||
|
||||
Other libraries used to compare of resizing speed:
|
||||
|
||||
- image = "0.25.2" (<https://crates.io/crates/image>)
|
||||
- resize = "0.8.7" (<https://crates.io/crates/resize>, single-threaded mode)
|
||||
- image = "0.25.6" (<https://crates.io/crates/image>)
|
||||
- resize = "0.8.8" (<https://crates.io/crates/resize>, single-threaded mode)
|
||||
|
||||
Resize algorithms:
|
||||
|
||||
@@ -40,10 +40,10 @@ Pipeline:
|
||||
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|-------------|:-------:|:-----:|:--------:|:-------:|:--------:|
|
||||
| image | 25.61 | - | 111.45 | 199.95 | 281.24 |
|
||||
| resize | 11.32 | 33.48 | 60.90 | 113.34 | 166.20 |
|
||||
| fir rust | 0.36 | 40.56 | 76.04 | 148.68 | 223.70 |
|
||||
| fir simd128 | 0.36 | 5.19 | 7.93 | 14.07 | 20.86 |
|
||||
| image | 22.36 | - | 114.09 | 207.35 | 299.62 |
|
||||
| resize | 11.40 | 32.71 | 59.71 | 113.30 | 167.48 |
|
||||
| fir rust | 0.39 | 36.51 | 67.08 | 128.85 | 191.63 |
|
||||
| fir simd128 | 0.39 | 4.82 | 7.46 | 13.43 | 19.83 |
|
||||
|
||||
<!-- bench_compare_rgb end -->
|
||||
|
||||
@@ -62,9 +62,9 @@ Pipeline:
|
||||
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|-------------|:-------:|:-----:|:--------:|:-------:|:--------:|
|
||||
| resize | 12.36 | 39.11 | 73.57 | 140.10 | 216.32 |
|
||||
| fir rust | 0.23 | 96.26 | 143.11 | 240.79 | 338.59 |
|
||||
| fir simd128 | 0.23 | 15.98 | 18.99 | 25.80 | 33.58 |
|
||||
| resize | 11.65 | 38.44 | 73.46 | 140.39 | 209.13 |
|
||||
| fir rust | 0.25 | 89.18 | 129.75 | 211.68 | 294.66 |
|
||||
| fir simd128 | 0.25 | 12.16 | 14.94 | 21.81 | 29.56 |
|
||||
|
||||
<!-- bench_compare_rgba end -->
|
||||
|
||||
@@ -82,10 +82,10 @@ Pipeline:
|
||||
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|-------------|:-------:|:-----:|:--------:|:-------:|:--------:|
|
||||
| image | 23.29 | - | 87.60 | 150.35 | 211.42 |
|
||||
| resize | 7.79 | 17.22 | 27.25 | 50.98 | 74.74 |
|
||||
| fir rust | 0.21 | 15.15 | 27.92 | 54.02 | 81.12 |
|
||||
| fir simd128 | 0.21 | 2.65 | 3.32 | 5.36 | 7.97 |
|
||||
| image | 18.89 | - | 85.80 | 152.05 | 216.91 |
|
||||
| resize | 6.67 | 16.13 | 27.43 | 50.73 | 74.16 |
|
||||
| fir rust | 0.21 | 12.83 | 23.04 | 44.08 | 65.74 |
|
||||
| fir simd128 | 0.21 | 2.66 | 3.43 | 5.53 | 8.26 |
|
||||
|
||||
<!-- bench_compare_l end -->
|
||||
|
||||
@@ -106,8 +106,8 @@ Pipeline:
|
||||
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|-------------|:-------:|:-----:|:--------:|:-------:|:--------:|
|
||||
| fir rust | 0.19 | 49.46 | 74.31 | 124.11 | 175.58 |
|
||||
| fir simd128 | 0.19 | 8.02 | 9.41 | 12.85 | 17.58 |
|
||||
| fir rust | 0.19 | 43.68 | 65.07 | 108.59 | 153.40 |
|
||||
| fir simd128 | 0.19 | 7.04 | 8.48 | 11.78 | 16.11 |
|
||||
|
||||
<!-- bench_compare_la end -->
|
||||
|
||||
@@ -125,10 +125,10 @@ Pipeline:
|
||||
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|-------------|:-------:|:-----:|:--------:|:-------:|:--------:|
|
||||
| image | 26.75 | - | 107.99 | 188.76 | 270.38 |
|
||||
| resize | 11.39 | 30.97 | 53.58 | 106.09 | 157.82 |
|
||||
| fir rust | 0.42 | 34.58 | 58.12 | 107.33 | 157.86 |
|
||||
| fir simd128 | 0.42 | 28.62 | 48.16 | 87.52 | 126.68 |
|
||||
| image | 21.29 | - | 103.21 | 186.77 | 269.27 |
|
||||
| resize | 10.66 | 31.93 | 54.70 | 106.72 | 153.68 |
|
||||
| fir rust | 0.41 | 31.09 | 52.53 | 97.53 | 142.71 |
|
||||
| fir simd128 | 0.41 | 28.80 | 48.69 | 88.22 | 127.73 |
|
||||
|
||||
<!-- bench_compare_rgb16 end -->
|
||||
|
||||
@@ -147,9 +147,9 @@ Pipeline:
|
||||
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|-------------|:-------:|:-----:|:--------:|:-------:|:--------:|
|
||||
| resize | 12.73 | 39.77 | 75.15 | 140.39 | 214.27 |
|
||||
| fir rust | 0.39 | 89.75 | 123.03 | 185.52 | 250.31 |
|
||||
| fir simd128 | 0.39 | 46.65 | 70.80 | 121.69 | 170.89 |
|
||||
| resize | 12.68 | 39.06 | 74.18 | 141.37 | 209.51 |
|
||||
| fir rust | 0.42 | 84.14 | 117.31 | 178.55 | 243.12 |
|
||||
| fir simd128 | 0.42 | 47.40 | 71.17 | 122.44 | 171.00 |
|
||||
|
||||
<!-- bench_compare_rgba16 end -->
|
||||
|
||||
@@ -167,10 +167,10 @@ Pipeline:
|
||||
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|-------------|:-------:|:-----:|:--------:|:-------:|:--------:|
|
||||
| image | 23.45 | - | 79.42 | 134.57 | 188.61 |
|
||||
| resize | 8.33 | 16.79 | 26.60 | 50.54 | 73.93 |
|
||||
| fir rust | 0.19 | 18.79 | 26.98 | 46.01 | 64.94 |
|
||||
| fir simd128 | 0.19 | 10.14 | 17.11 | 29.49 | 42.87 |
|
||||
| image | 19.11 | - | 82.39 | 145.23 | 207.70 |
|
||||
| resize | 7.85 | 18.17 | 29.70 | 53.69 | 78.64 |
|
||||
| fir rust | 0.20 | 18.15 | 25.96 | 44.14 | 61.74 |
|
||||
| fir simd128 | 0.20 | 10.18 | 17.22 | 29.79 | 42.83 |
|
||||
|
||||
<!-- bench_compare_l16 end -->
|
||||
|
||||
@@ -191,8 +191,8 @@ Pipeline:
|
||||
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|-------------|:-------:|:-----:|:--------:|:-------:|:--------:|
|
||||
| fir rust | 0.25 | 44.15 | 59.50 | 91.27 | 125.41 |
|
||||
| fir simd128 | 0.25 | 26.02 | 38.49 | 65.75 | 92.37 |
|
||||
| fir rust | 0.25 | 44.73 | 61.06 | 92.55 | 124.11 |
|
||||
| fir simd128 | 0.25 | 24.57 | 37.51 | 63.99 | 90.32 |
|
||||
|
||||
<!-- bench_compare_la16 end -->
|
||||
|
||||
@@ -210,9 +210,9 @@ Pipeline:
|
||||
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|----------|:-------:|:-----:|:--------:|:-------:|:--------:|
|
||||
| image | 13.04 | - | 63.40 | 116.33 | 167.53 |
|
||||
| resize | 7.31 | 15.27 | 22.17 | 42.93 | 65.69 |
|
||||
| fir rust | 0.25 | 10.20 | 18.49 | 35.77 | 59.88 |
|
||||
| image | 11.33 | - | 58.92 | 106.75 | 155.04 |
|
||||
| resize | 8.98 | 16.53 | 24.59 | 45.82 | 67.67 |
|
||||
| fir rust | 0.25 | 10.13 | 18.35 | 36.05 | 60.08 |
|
||||
|
||||
<!-- bench_compare_l32f end -->
|
||||
|
||||
@@ -238,7 +238,7 @@ Pipeline:
|
||||
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|----------|:-------:|:-----:|:--------:|:-------:|:--------:|
|
||||
| fir rust | 0.41 | 30.13 | 42.49 | 69.34 | 98.15 |
|
||||
| fir rust | 0.42 | 30.89 | 43.06 | 70.18 | 101.63 |
|
||||
|
||||
<!-- bench_compare_la32f end -->
|
||||
|
||||
@@ -256,9 +256,9 @@ Pipeline:
|
||||
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|----------|:-------:|:-----:|:--------:|:-------:|:--------:|
|
||||
| image | 16.34 | - | 67.78 | 123.04 | 180.03 |
|
||||
| resize | 10.39 | 21.49 | 35.88 | 65.69 | 95.80 |
|
||||
| fir rust | 1.02 | 25.55 | 45.73 | 86.30 | 128.94 |
|
||||
| image | 11.78 | - | 68.25 | 126.64 | 184.94 |
|
||||
| resize | 10.76 | 21.80 | 34.28 | 64.89 | 96.11 |
|
||||
| fir rust | 1.02 | 24.73 | 45.06 | 85.19 | 128.12 |
|
||||
|
||||
<!-- bench_compare_rgb32f end -->
|
||||
|
||||
@@ -280,6 +280,6 @@ Pipeline:
|
||||
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|----------|:-------:|:-----:|:--------:|:-------:|:--------:|
|
||||
| fir rust | 1.20 | 50.35 | 73.55 | 118.86 | 168.11 |
|
||||
| fir rust | 1.22 | 50.02 | 73.15 | 118.86 | 168.38 |
|
||||
|
||||
<!-- bench_compare_rgba32f end -->
|
||||
|
||||
+67
-67
@@ -6,15 +6,15 @@ Environment:
|
||||
|
||||
- CPU: AMD Ryzen 9 5950X
|
||||
- RAM: DDR4 4000 MHz
|
||||
- Ubuntu 24.04 (linux 6.8.0)
|
||||
- Rust 1.81.0
|
||||
- Ubuntu 24.04 (linux 6.11.0)
|
||||
- Rust 1.87.0
|
||||
- criterion = "0.5.1"
|
||||
- fast_image_resize = "5.0.0"
|
||||
- fast_image_resize = "5.1.4"
|
||||
|
||||
Other libraries used to compare of resizing speed:
|
||||
|
||||
- image = "0.25.2" (<https://crates.io/crates/image>)
|
||||
- resize = "0.8.7" (<https://crates.io/crates/resize>, single-threaded mode)
|
||||
- image = "0.25.6" (<https://crates.io/crates/image>)
|
||||
- resize = "0.8.8" (<https://crates.io/crates/resize>, single-threaded mode)
|
||||
- libvips = "8.15.1" (single-threaded mode)
|
||||
|
||||
Resize algorithms:
|
||||
@@ -40,12 +40,12 @@ Pipeline:
|
||||
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|------------|:-------:|:-----:|:--------:|:-------:|:--------:|
|
||||
| image | 34.13 | - | 88.09 | 142.99 | 191.80 |
|
||||
| resize | 8.87 | 26.97 | 53.08 | 98.26 | 145.74 |
|
||||
| libvips | 2.38 | 61.57 | 5.66 | 9.70 | 16.03 |
|
||||
| fir rust | 0.28 | 10.93 | 15.35 | 25.77 | 37.09 |
|
||||
| fir sse4.1 | 0.28 | 3.43 | 5.39 | 9.82 | 15.34 |
|
||||
| fir avx2 | 0.28 | 2.62 | 3.80 | 6.89 | 13.22 |
|
||||
| image | 29.28 | - | 83.28 | 136.97 | 189.93 |
|
||||
| resize | 7.42 | 26.82 | 49.29 | 93.22 | 140.26 |
|
||||
| libvips | 2.42 | 61.73 | 5.66 | 9.81 | 15.78 |
|
||||
| fir rust | 0.28 | 10.87 | 16.12 | 26.63 | 38.08 |
|
||||
| fir sse4.1 | 0.28 | 3.37 | 5.34 | 9.89 | 15.30 |
|
||||
| fir avx2 | 0.28 | 2.52 | 3.67 | 6.80 | 13.21 |
|
||||
|
||||
<!-- bench_compare_rgb end -->
|
||||
|
||||
@@ -64,11 +64,11 @@ Pipeline:
|
||||
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|------------|:-------:|:------:|:--------:|:-------:|:--------:|
|
||||
| resize | 9.90 | 37.85 | 74.20 | 133.72 | 201.29 |
|
||||
| libvips | 4.17 | 169.03 | 141.52 | 232.30 | 330.89 |
|
||||
| fir rust | 0.19 | 20.66 | 26.02 | 37.27 | 50.21 |
|
||||
| fir sse4.1 | 0.19 | 9.59 | 11.99 | 17.79 | 24.83 |
|
||||
| fir avx2 | 0.19 | 7.21 | 8.61 | 13.22 | 22.41 |
|
||||
| resize | 9.59 | 34.02 | 64.61 | 126.43 | 187.18 |
|
||||
| libvips | 4.19 | 169.02 | 142.22 | 228.64 | 330.24 |
|
||||
| fir rust | 0.19 | 20.30 | 25.25 | 36.57 | 49.69 |
|
||||
| fir sse4.1 | 0.19 | 9.51 | 11.90 | 17.78 | 24.49 |
|
||||
| fir avx2 | 0.19 | 7.11 | 8.39 | 13.68 | 21.72 |
|
||||
|
||||
<!-- bench_compare_rgba end -->
|
||||
|
||||
@@ -86,12 +86,12 @@ Pipeline:
|
||||
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|------------|:-------:|:-----:|:--------:|:-------:|:--------:|
|
||||
| image | 29.07 | - | 60.25 | 89.15 | 117.51 |
|
||||
| resize | 6.42 | 11.26 | 20.87 | 42.87 | 69.50 |
|
||||
| libvips | 2.57 | 25.05 | 6.82 | 9.85 | 12.68 |
|
||||
| fir rust | 0.15 | 4.45 | 5.57 | 9.02 | 12.31 |
|
||||
| fir sse4.1 | 0.15 | 1.52 | 2.09 | 3.52 | 5.65 |
|
||||
| fir avx2 | 0.15 | 1.54 | 1.76 | 2.80 | 4.03 |
|
||||
| image | 26.90 | - | 56.49 | 85.11 | 112.72 |
|
||||
| resize | 6.57 | 11.06 | 18.83 | 38.44 | 63.98 |
|
||||
| libvips | 2.62 | 24.92 | 6.81 | 9.84 | 12.73 |
|
||||
| fir rust | 0.16 | 4.42 | 5.45 | 8.69 | 12.04 |
|
||||
| fir sse4.1 | 0.16 | 1.45 | 2.02 | 3.37 | 5.44 |
|
||||
| fir avx2 | 0.16 | 1.51 | 1.73 | 2.74 | 4.11 |
|
||||
|
||||
<!-- bench_compare_l end -->
|
||||
|
||||
@@ -112,10 +112,10 @@ Pipeline:
|
||||
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|------------|:-------:|:-----:|:--------:|:-------:|:--------:|
|
||||
| libvips | 3.70 | 94.30 | 79.22 | 123.08 | 165.17 |
|
||||
| fir rust | 0.17 | 17.42 | 19.66 | 25.76 | 31.87 |
|
||||
| fir sse4.1 | 0.17 | 5.89 | 7.11 | 9.83 | 13.51 |
|
||||
| fir avx2 | 0.17 | 4.09 | 4.85 | 6.70 | 9.68 |
|
||||
| libvips | 3.66 | 94.55 | 79.09 | 122.64 | 165.17 |
|
||||
| fir rust | 0.17 | 14.54 | 16.90 | 23.02 | 29.07 |
|
||||
| fir sse4.1 | 0.17 | 5.82 | 7.03 | 9.72 | 13.47 |
|
||||
| fir avx2 | 0.17 | 4.05 | 4.78 | 6.49 | 8.91 |
|
||||
|
||||
<!-- bench_compare_la end -->
|
||||
|
||||
@@ -133,12 +133,12 @@ Pipeline:
|
||||
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|------------|:-------:|:-----:|:--------:|:-------:|:--------:|
|
||||
| image | 31.57 | - | 87.50 | 140.87 | 192.50 |
|
||||
| resize | 8.27 | 26.82 | 50.82 | 97.83 | 144.89 |
|
||||
| libvips | 14.14 | 95.67 | 67.26 | 130.91 | 175.04 |
|
||||
| fir rust | 0.34 | 27.89 | 45.79 | 79.04 | 113.41 |
|
||||
| fir sse4.1 | 0.34 | 14.54 | 22.50 | 38.58 | 54.63 |
|
||||
| fir avx2 | 0.34 | 12.26 | 17.80 | 28.55 | 37.15 |
|
||||
| image | 29.20 | - | 82.74 | 136.66 | 191.22 |
|
||||
| resize | 8.31 | 24.85 | 48.08 | 92.32 | 138.14 |
|
||||
| libvips | 14.15 | 95.89 | 67.43 | 131.07 | 175.11 |
|
||||
| fir rust | 0.35 | 26.30 | 45.04 | 78.18 | 113.16 |
|
||||
| fir sse4.1 | 0.35 | 14.65 | 22.51 | 38.61 | 55.30 |
|
||||
| fir avx2 | 0.35 | 12.59 | 17.97 | 28.09 | 36.83 |
|
||||
|
||||
<!-- bench_compare_rgb16 end -->
|
||||
|
||||
@@ -157,11 +157,11 @@ Pipeline:
|
||||
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|------------|:-------:|:------:|:--------:|:-------:|:--------:|
|
||||
| resize | 11.11 | 39.37 | 71.59 | 135.94 | 204.58 |
|
||||
| libvips | 21.16 | 181.24 | 153.70 | 241.95 | 342.56 |
|
||||
| fir rust | 0.38 | 60.31 | 79.71 | 122.36 | 166.54 |
|
||||
| fir sse4.1 | 0.38 | 30.83 | 41.64 | 63.39 | 85.77 |
|
||||
| fir avx2 | 0.38 | 20.80 | 26.25 | 37.26 | 49.02 |
|
||||
| resize | 10.41 | 34.13 | 63.85 | 126.67 | 190.86 |
|
||||
| libvips | 21.24 | 181.32 | 152.83 | 241.51 | 344.01 |
|
||||
| fir rust | 0.39 | 62.48 | 84.00 | 127.42 | 174.28 |
|
||||
| fir sse4.1 | 0.39 | 31.00 | 41.70 | 63.55 | 85.98 |
|
||||
| fir avx2 | 0.39 | 21.07 | 26.54 | 37.35 | 48.88 |
|
||||
|
||||
<!-- bench_compare_rgba16 end -->
|
||||
|
||||
@@ -179,12 +179,12 @@ Pipeline:
|
||||
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|------------|:-------:|:-----:|:--------:|:-------:|:--------:|
|
||||
| image | 28.99 | - | 61.22 | 91.67 | 119.54 |
|
||||
| resize | 7.02 | 11.23 | 21.15 | 44.75 | 69.40 |
|
||||
| libvips | 5.68 | 34.67 | 23.78 | 43.76 | 59.42 |
|
||||
| fir rust | 0.17 | 13.53 | 21.22 | 32.94 | 45.88 |
|
||||
| fir sse4.1 | 0.17 | 4.95 | 7.20 | 12.59 | 18.74 |
|
||||
| fir avx2 | 0.17 | 4.94 | 6.14 | 9.09 | 13.75 |
|
||||
| image | 27.15 | - | 57.20 | 86.11 | 114.59 |
|
||||
| resize | 6.94 | 10.38 | 16.53 | 34.22 | 59.67 |
|
||||
| libvips | 5.74 | 34.76 | 23.81 | 43.92 | 59.54 |
|
||||
| fir rust | 0.17 | 13.12 | 20.60 | 32.93 | 45.22 |
|
||||
| fir sse4.1 | 0.17 | 5.01 | 7.17 | 12.71 | 18.59 |
|
||||
| fir avx2 | 0.17 | 5.02 | 6.15 | 9.08 | 13.87 |
|
||||
|
||||
<!-- bench_compare_l16 end -->
|
||||
|
||||
@@ -205,10 +205,10 @@ Pipeline:
|
||||
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|------------|:-------:|:------:|:--------:|:-------:|:--------:|
|
||||
| libvips | 11.27 | 104.93 | 87.91 | 132.52 | 175.67 |
|
||||
| fir rust | 0.19 | 30.06 | 38.42 | 59.01 | 81.08 |
|
||||
| fir sse4.1 | 0.19 | 14.45 | 20.42 | 31.81 | 45.02 |
|
||||
| fir avx2 | 0.19 | 11.27 | 14.54 | 21.66 | 28.87 |
|
||||
| libvips | 11.30 | 104.96 | 87.94 | 133.05 | 177.05 |
|
||||
| fir rust | 0.19 | 26.01 | 34.51 | 57.11 | 79.20 |
|
||||
| fir sse4.1 | 0.19 | 14.57 | 20.95 | 32.23 | 45.14 |
|
||||
| fir avx2 | 0.19 | 11.33 | 14.61 | 21.68 | 29.04 |
|
||||
|
||||
<!-- bench_compare_la16 end -->
|
||||
|
||||
@@ -226,12 +226,12 @@ Pipeline:
|
||||
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|------------|:-------:|:-----:|:--------:|:-------:|:--------:|
|
||||
| image | 25.15 | - | 53.26 | 84.55 | 112.61 |
|
||||
| resize | 5.18 | 8.87 | 13.79 | 30.25 | 46.06 |
|
||||
| libvips | 4.65 | 33.97 | 23.90 | 46.23 | 64.98 |
|
||||
| fir rust | 0.19 | 7.12 | 11.76 | 26.13 | 39.24 |
|
||||
| fir sse4.1 | 0.19 | 4.36 | 6.75 | 11.60 | 16.87 |
|
||||
| fir avx2 | 0.19 | 4.06 | 5.29 | 7.93 | 11.18 |
|
||||
| image | 2.25 | - | 17.43 | 34.22 | 52.11 |
|
||||
| resize | 5.37 | 8.92 | 13.48 | 30.89 | 45.56 |
|
||||
| libvips | 4.61 | 34.03 | 23.89 | 45.80 | 64.98 |
|
||||
| fir rust | 0.19 | 7.11 | 11.74 | 25.79 | 39.27 |
|
||||
| fir sse4.1 | 0.19 | 4.33 | 6.75 | 11.59 | 16.93 |
|
||||
| fir avx2 | 0.19 | 3.87 | 5.17 | 7.81 | 11.16 |
|
||||
|
||||
<!-- bench_compare_l32f end -->
|
||||
|
||||
@@ -252,10 +252,10 @@ Pipeline:
|
||||
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|------------|:-------:|:-----:|:--------:|:-------:|:--------:|
|
||||
| libvips | 10.75 | 91.80 | 77.32 | 118.49 | 161.60 |
|
||||
| fir rust | 0.38 | 22.66 | 29.18 | 47.22 | 71.11 |
|
||||
| fir sse4.1 | 0.38 | 17.36 | 22.09 | 30.88 | 40.93 |
|
||||
| fir avx2 | 0.38 | 16.35 | 18.25 | 24.06 | 28.64 |
|
||||
| libvips | 10.74 | 91.69 | 77.46 | 119.06 | 161.51 |
|
||||
| fir rust | 0.40 | 20.41 | 27.92 | 46.32 | 68.22 |
|
||||
| fir sse4.1 | 0.40 | 16.80 | 21.28 | 30.42 | 40.64 |
|
||||
| fir avx2 | 0.40 | 15.46 | 17.60 | 23.08 | 28.89 |
|
||||
|
||||
<!-- bench_compare_la32f end -->
|
||||
|
||||
@@ -273,12 +273,12 @@ Pipeline:
|
||||
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|------------|:-------:|:-----:|:--------:|:-------:|:--------:|
|
||||
| image | 27.62 | - | 64.22 | 108.90 | 148.53 |
|
||||
| resize | 9.17 | 16.34 | 24.61 | 48.55 | 72.74 |
|
||||
| libvips | 10.72 | 92.12 | 69.06 | 136.43 | 189.79 |
|
||||
| fir rust | 0.87 | 14.52 | 24.96 | 48.83 | 73.53 |
|
||||
| fir sse4.1 | 0.87 | 11.17 | 18.18 | 31.78 | 47.45 |
|
||||
| fir avx2 | 0.87 | 9.32 | 12.96 | 21.67 | 29.82 |
|
||||
| image | 2.94 | - | 26.03 | 50.30 | 75.89 |
|
||||
| resize | 8.77 | 14.26 | 24.16 | 48.92 | 71.69 |
|
||||
| libvips | 10.81 | 91.85 | 69.09 | 136.77 | 190.14 |
|
||||
| fir rust | 0.87 | 13.98 | 24.68 | 48.56 | 73.59 |
|
||||
| fir sse4.1 | 0.87 | 11.18 | 18.11 | 31.87 | 47.17 |
|
||||
| fir avx2 | 0.87 | 9.24 | 13.08 | 21.25 | 29.01 |
|
||||
|
||||
<!-- bench_compare_rgb32f end -->
|
||||
|
||||
@@ -300,9 +300,9 @@ Pipeline:
|
||||
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|------------|:-------:|:------:|:--------:|:-------:|:--------:|
|
||||
| libvips | 20.19 | 153.58 | 125.81 | 213.36 | 312.24 |
|
||||
| fir rust | 1.04 | 35.17 | 44.55 | 68.83 | 92.90 |
|
||||
| fir sse4.1 | 1.04 | 30.67 | 38.72 | 57.04 | 76.49 |
|
||||
| fir avx2 | 1.04 | 28.76 | 29.99 | 39.20 | 49.14 |
|
||||
| libvips | 20.21 | 153.92 | 125.00 | 214.27 | 313.49 |
|
||||
| fir rust | 1.03 | 35.41 | 44.55 | 68.91 | 92.62 |
|
||||
| fir sse4.1 | 1.03 | 30.65 | 38.50 | 57.21 | 76.65 |
|
||||
| fir avx2 | 1.03 | 28.66 | 30.10 | 38.79 | 48.73 |
|
||||
|
||||
<!-- bench_compare_rgba32f end -->
|
||||
|
||||
Reference in New Issue
Block a user