mirror of
https://github.com/Cykooz/fast_image_resize.git
synced 2026-10-08 01:11:09 +00:00
Updated results of benchmarks for wasm32 architecture.
This commit is contained in:
@@ -11,9 +11,9 @@ Environment:
|
||||
- Ubuntu 22.04 (linux 6.2.0)
|
||||
- Rust 1.74.0
|
||||
- criterion = "0.5.1"
|
||||
- fast_image_resize = "2.7.1"
|
||||
- fast_image_resize = "2.7.3"
|
||||
{% if arch_id == "wasm32" -%}
|
||||
- wasmtime = "8.0.0"
|
||||
- wasmtime = "15.0.0"
|
||||
{% endif %}
|
||||
|
||||
Other libraries used to compare of resizing speed:
|
||||
|
||||
@@ -214,13 +214,7 @@ pub fn fir_resize<P: PixelTestingExt>(bench_group: &mut BenchGroup) {
|
||||
for cpu_ext in cpu_extensions {
|
||||
for alg_name in ALG_NAMES {
|
||||
let resize_alg = match alg_name {
|
||||
"Nearest" => {
|
||||
if cpu_ext != CpuExtensions::None {
|
||||
// Nearest algorithm implemented only for native Rust.
|
||||
continue;
|
||||
}
|
||||
ResizeAlg::Nearest
|
||||
}
|
||||
"Nearest" => ResizeAlg::Nearest,
|
||||
"Box" => ResizeAlg::Convolution(FilterType::Box),
|
||||
"Bilinear" => ResizeAlg::Convolution(FilterType::Bilinear),
|
||||
"Bicubic" => ResizeAlg::Convolution(FilterType::CatmullRom),
|
||||
@@ -280,13 +274,7 @@ pub fn fir_resize_with_alpha<P: PixelTestingExt>(bench_group: &mut BenchGroup) {
|
||||
for cpu_ext in cpu_ext_and_name {
|
||||
for alg_name in ALG_NAMES {
|
||||
let resize_alg = match alg_name {
|
||||
"Nearest" => {
|
||||
if cpu_ext != CpuExtensions::None {
|
||||
// Nearest algorithm implemented only for native Rust.
|
||||
continue;
|
||||
}
|
||||
ResizeAlg::Nearest
|
||||
}
|
||||
"Nearest" => ResizeAlg::Nearest,
|
||||
"Box" => ResizeAlg::Convolution(FilterType::Box),
|
||||
"Bilinear" => ResizeAlg::Convolution(FilterType::Bilinear),
|
||||
"Bicubic" => ResizeAlg::Convolution(FilterType::CatmullRom),
|
||||
|
||||
+9
-9
@@ -7,7 +7,7 @@ Environment:
|
||||
- Ubuntu 22.04 (linux 6.2.0)
|
||||
- Rust 1.74.0
|
||||
- criterion = "0.5.1"
|
||||
- fast_image_resize = "2.7.1"
|
||||
- fast_image_resize = "2.7.3"
|
||||
|
||||
|
||||
Other libraries used to compare of resizing speed:
|
||||
@@ -42,7 +42,7 @@ Pipeline:
|
||||
| resize | - | 54.54 | 104.14 | 216.28 | 315.33 |
|
||||
| libvips | 27.32 | 128.45 | 108.65 | 212.03 | 286.66 |
|
||||
| fir rust | 0.89 | 44.47 | 64.55 | 86.93 | 106.47 |
|
||||
| fir neon | - | 36.01 | 43.77 | 59.54 | 82.73 |
|
||||
| fir neon | 0.89 | 36.01 | 43.77 | 59.54 | 82.73 |
|
||||
<!-- bench_compare_rgb end -->
|
||||
|
||||
<!-- bench_compare_rgba start -->
|
||||
@@ -62,7 +62,7 @@ Pipeline:
|
||||
| resize | - | 88.20 | 124.25 | 212.49 | 310.58 |
|
||||
| libvips | 36.34 | 241.01 | 361.89 | 708.92 | 955.79 |
|
||||
| fir rust | 1.00 | 84.57 | 126.75 | 225.98 | 311.13 |
|
||||
| fir neon | - | 38.06 | 46.57 | 63.90 | 88.55 |
|
||||
| fir neon | 1.00 | 38.06 | 46.57 | 63.90 | 88.55 |
|
||||
<!-- bench_compare_rgba end -->
|
||||
|
||||
<!-- bench_compare_l start -->
|
||||
@@ -82,7 +82,7 @@ Pipeline:
|
||||
| resize | - | 29.27 | 42.14 | 70.37 | 103.28 |
|
||||
| libvips | 12.05 | 50.26 | 38.89 | 72.16 | 96.37 |
|
||||
| fir rust | 0.50 | 25.21 | 30.45 | 30.65 | 42.67 |
|
||||
| fir neon | - | 11.97 | 14.26 | 20.71 | 27.35 |
|
||||
| fir neon | 0.50 | 11.97 | 14.26 | 20.71 | 27.35 |
|
||||
<!-- bench_compare_l end -->
|
||||
|
||||
<!-- bench_compare_la start -->
|
||||
@@ -103,7 +103,7 @@ Pipeline:
|
||||
|----------|:-------:|:------:|:--------:|:-------:|:--------:|
|
||||
| libvips | 19.81 | 146.93 | 225.07 | 406.79 | 553.61 |
|
||||
| fir rust | 0.63 | 43.35 | 60.97 | 69.54 | 67.24 |
|
||||
| fir neon | - | 34.19 | 36.30 | 40.20 | 55.14 |
|
||||
| fir neon | 0.63 | 34.19 | 36.30 | 40.20 | 55.14 |
|
||||
<!-- bench_compare_la end -->
|
||||
|
||||
<!-- bench_compare_rgb16 start -->
|
||||
@@ -123,7 +123,7 @@ Pipeline:
|
||||
| resize | - | 59.54 | 110.42 | 225.94 | 338.53 |
|
||||
| libvips | 27.95 | 141.49 | 115.13 | 245.45 | 319.30 |
|
||||
| fir rust | 1.44 | 56.06 | 76.68 | 135.12 | 186.88 |
|
||||
| fir neon | - | 63.61 | 70.51 | 91.09 | 128.26 |
|
||||
| fir neon | 1.44 | 63.61 | 70.51 | 91.09 | 128.26 |
|
||||
<!-- bench_compare_rgb16 end -->
|
||||
|
||||
<!-- bench_compare_rgba16 start -->
|
||||
@@ -143,7 +143,7 @@ Pipeline:
|
||||
| resize | - | 86.98 | 147.89 | 278.84 | 396.78 |
|
||||
| libvips | 37.75 | 249.06 | 378.55 | 739.45 | 994.75 |
|
||||
| fir rust | 1.53 | 78.32 | 107.65 | 181.44 | 240.45 |
|
||||
| fir neon | - | 59.54 | 79.88 | 120.79 | 163.88 |
|
||||
| fir neon | 1.53 | 59.54 | 79.88 | 120.79 | 163.88 |
|
||||
<!-- bench_compare_rgba16 end -->
|
||||
|
||||
<!-- bench_compare_l16 start -->
|
||||
@@ -163,7 +163,7 @@ Pipeline:
|
||||
| resize | - | 28.62 | 47.00 | 79.21 | 106.25 |
|
||||
| libvips | 12.70 | 54.92 | 42.32 | 84.12 | 108.10 |
|
||||
| fir rust | 0.62 | 27.39 | 36.86 | 54.36 | 75.75 |
|
||||
| fir neon | - | 13.00 | 18.26 | 27.83 | 38.69 |
|
||||
| fir neon | 0.62 | 13.00 | 18.26 | 27.83 | 38.69 |
|
||||
<!-- bench_compare_l16 end -->
|
||||
|
||||
<!-- bench_compare_la16 start -->
|
||||
@@ -184,5 +184,5 @@ Pipeline:
|
||||
|----------|:-------:|:------:|:--------:|:-------:|:--------:|
|
||||
| libvips | 21.44 | 151.27 | 246.13 | 439.24 | 591.20 |
|
||||
| fir rust | 0.95 | 45.45 | 60.95 | 104.35 | 143.89 |
|
||||
| fir neon | - | 27.29 | 36.32 | 53.71 | 70.16 |
|
||||
| fir neon | 0.95 | 27.29 | 36.32 | 53.71 | 70.16 |
|
||||
<!-- bench_compare_la16 end -->
|
||||
|
||||
+52
-51
@@ -1,29 +1,30 @@
|
||||
<!-- introduction start -->
|
||||
## Benchmarks of fast_image_resize crate for x86_64 architecture
|
||||
## Benchmarks of fast_image_resize crate for Wasm32 architecture
|
||||
|
||||
Environment:
|
||||
|
||||
- CPU: AMD Ryzen 9 5950X
|
||||
- RAM: DDR4 3800 MHz
|
||||
- Ubuntu 22.04 (linux 6.2.0)
|
||||
- Rust 1.73.0
|
||||
- Rust 1.74.0
|
||||
- criterion = "0.5.1"
|
||||
- fast_image_resize = "2.7.1"
|
||||
- wasmtime = "8.0.0"
|
||||
- fast_image_resize = "2.7.3"
|
||||
- wasmtime = "15.0.0"
|
||||
|
||||
|
||||
Other libraries used to compare of resizing speed:
|
||||
|
||||
- image = "0.24.7" (<https://crates.io/crates/image>)
|
||||
- resize = "0.8.2" (<https://crates.io/crates/resize>)
|
||||
- libvips = "8.12.1" (single-threaded mode, cache disabled)
|
||||
|
||||
|
||||
Resize algorithms:
|
||||
|
||||
- Nearest
|
||||
- Box - convolution with adaptive kernel size, min 1x1 px
|
||||
- Bilinear - convolution with adaptive kernel size, min 2x2 px
|
||||
- Becubic (CatmullRom) - convolution with adaptive kernel size, min 4x4 px
|
||||
- Lanczos3 -convolution with adaptive kernel size, min 6x6 px
|
||||
- Box - convolution with minimal kernel size 1x1 px
|
||||
- Bilinear - convolution with minimal kernel size 2x2 px
|
||||
- Bicubic (CatmullRom) - convolution with minimal kernel size 4x4 px
|
||||
- Lanczos3 -convolution with minimal kernel size 6x6 px
|
||||
<!-- introduction end -->
|
||||
|
||||
<!-- bench_compare_rgb start -->
|
||||
@@ -36,12 +37,12 @@ Pipeline:
|
||||
- Source image [nasa-4928x3279.png](https://github.com/Cykooz/fast_image_resize/blob/main/data/nasa-4928x3279.png)
|
||||
- Numbers in table is mean duration of image resizing in milliseconds.
|
||||
|
||||
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|
||||
|-------------|:-------:|:--------:|:----------:|:--------:|
|
||||
| image | 23.16 | 99.13 | 173.28 | 247.24 |
|
||||
| resize | - | 53.26 | 100.84 | 148.86 |
|
||||
| fir rust | 0.39 | 56.20 | 96.83 | 137.63 |
|
||||
| fir simd128 | - | 15.76 | 21.15 | 29.93 |
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|-------------|:-------:|:-----:|:--------:|:-------:|:--------:|
|
||||
| image | 18.64 | - | 102.37 | 187.12 | 271.19 |
|
||||
| resize | - | 34.45 | 60.83 | 112.43 | 163.63 |
|
||||
| fir rust | 0.38 | 35.45 | 52.91 | 89.97 | 127.45 |
|
||||
| fir simd128 | 0.38 | 14.51 | 15.56 | 20.86 | 29.45 |
|
||||
<!-- bench_compare_rgb end -->
|
||||
|
||||
<!-- bench_compare_rgba start -->
|
||||
@@ -56,11 +57,11 @@ Pipeline:
|
||||
- Numbers in table is mean duration of image resizing in milliseconds.
|
||||
- The `image` crate does not support multiplying and dividing by alpha channel.
|
||||
|
||||
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|
||||
|-------------|:-------:|:--------:|:----------:|:--------:|
|
||||
| resize | - | 70.26 | 135.86 | 201.70 |
|
||||
| fir rust | 0.29 | 109.08 | 161.29 | 211.15 |
|
||||
| fir simd128 | - | 18.99 | 24.47 | 32.11 |
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|-------------|:-------:|:------:|:--------:|:-------:|:--------:|
|
||||
| resize | - | 40.11 | 72.74 | 138.09 | 202.86 |
|
||||
| fir rust | 0.26 | 107.99 | 159.85 | 280.66 | 405.81 |
|
||||
| fir simd128 | 0.26 | 15.62 | 17.45 | 23.01 | 30.34 |
|
||||
<!-- bench_compare_rgba end -->
|
||||
|
||||
<!-- bench_compare_l start -->
|
||||
@@ -74,12 +75,12 @@ Pipeline:
|
||||
has converted into grayscale image with one byte per pixel.
|
||||
- Numbers in table is mean duration of image resizing in milliseconds.
|
||||
|
||||
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|
||||
|-------------|:-------:|:--------:|:----------:|:--------:|
|
||||
| image | 19.97 | 76.69 | 130.46 | 183.81 |
|
||||
| resize | - | 24.89 | 47.08 | 69.85 |
|
||||
| fir rust | 0.23 | 31.20 | 49.05 | 69.19 |
|
||||
| fir simd128 | - | 8.62 | 8.73 | 13.31 |
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|-------------|:-------:|:-----:|:--------:|:-------:|:--------:|
|
||||
| image | 17.15 | - | 80.67 | 142.93 | 204.28 |
|
||||
| resize | - | 18.09 | 29.02 | 52.82 | 76.89 |
|
||||
| fir rust | 0.21 | 18.73 | 27.08 | 44.55 | 63.67 |
|
||||
| fir simd128 | 0.21 | 8.88 | 7.82 | 8.74 | 12.57 |
|
||||
<!-- bench_compare_l end -->
|
||||
|
||||
<!-- bench_compare_la start -->
|
||||
@@ -96,10 +97,10 @@ Pipeline:
|
||||
- The `image` crate does not support multiplying and dividing by alpha channel.
|
||||
- The `resize` crate does not support this pixel format.
|
||||
|
||||
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|
||||
|-------------|:-------:|:--------:|:----------:|:--------:|
|
||||
| fir rust | 0.22 | 61.12 | 94.63 | 129.43 |
|
||||
| fir simd128 | - | 20.28 | 21.32 | 27.25 |
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|-------------|:-------:|:-----:|:--------:|:-------:|:--------:|
|
||||
| fir rust | 0.19 | 56.80 | 92.73 | 161.42 | 254.34 |
|
||||
| fir simd128 | 0.19 | 16.29 | 16.33 | 18.41 | 24.30 |
|
||||
<!-- bench_compare_la end -->
|
||||
|
||||
<!-- bench_compare_rgb16 start -->
|
||||
@@ -113,12 +114,12 @@ Pipeline:
|
||||
has converted into RGB16 image.
|
||||
- Numbers in table is mean duration of image resizing in milliseconds.
|
||||
|
||||
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|
||||
|-------------|:-------:|:--------:|:----------:|:--------:|
|
||||
| image | 23.09 | 104.82 | 196.11 | 285.95 |
|
||||
| resize | - | 54.00 | 104.82 | 155.54 |
|
||||
| fir rust | 0.45 | 67.27 | 111.68 | 157.72 |
|
||||
| fir simd128 | - | 53.94 | 91.66 | 131.08 |
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|-------------|:-------:|:-----:|:--------:|:-------:|:--------:|
|
||||
| image | 19.04 | - | 96.74 | 174.32 | 252.87 |
|
||||
| resize | - | 32.56 | 58.90 | 111.59 | 160.42 |
|
||||
| fir rust | 0.43 | 41.31 | 62.32 | 105.37 | 148.85 |
|
||||
| fir simd128 | 0.43 | 33.22 | 52.13 | 89.63 | 128.82 |
|
||||
<!-- bench_compare_rgb16 end -->
|
||||
|
||||
<!-- bench_compare_rgba16 start -->
|
||||
@@ -133,11 +134,11 @@ Pipeline:
|
||||
- Numbers in table is mean duration of image resizing in milliseconds.
|
||||
- The `image` crate does not support multiplying and dividing by alpha channel.
|
||||
|
||||
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|
||||
|-------------|:-------:|:--------:|:----------:|:--------:|
|
||||
| resize | - | 73.08 | 139.06 | 205.89 |
|
||||
| fir rust | 0.40 | 131.46 | 188.91 | 246.28 |
|
||||
| fir simd128 | - | 76.39 | 124.16 | 173.10 |
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|-------------|:-------:|:-----:|:--------:|:-------:|:--------:|
|
||||
| resize | - | 40.16 | 74.19 | 140.44 | 207.71 |
|
||||
| fir rust | 0.37 | 93.26 | 121.24 | 177.01 | 235.33 |
|
||||
| fir simd128 | 0.37 | 54.35 | 77.83 | 125.41 | 174.12 |
|
||||
<!-- bench_compare_rgba16 end -->
|
||||
|
||||
<!-- bench_compare_l16 start -->
|
||||
@@ -151,12 +152,12 @@ Pipeline:
|
||||
has converted into grayscale image with two bytes per pixel.
|
||||
- Numbers in table is mean duration of image resizing in milliseconds.
|
||||
|
||||
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|
||||
|-------------|:-------:|:--------:|:----------:|:--------:|
|
||||
| image | 21.17 | 77.63 | 131.44 | 185.26 |
|
||||
| resize | - | 30.48 | 61.50 | 91.86 |
|
||||
| fir rust | 0.23 | 32.81 | 49.09 | 69.09 |
|
||||
| fir simd128 | - | 19.42 | 30.96 | 44.40 |
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|-------------|:-------:|:-----:|:--------:|:-------:|:--------:|
|
||||
| image | 18.53 | - | 81.21 | 143.82 | 205.26 |
|
||||
| resize | - | 19.85 | 31.37 | 54.48 | 78.40 |
|
||||
| fir rust | 0.19 | 20.78 | 29.80 | 46.92 | 65.02 |
|
||||
| fir simd128 | 0.19 | 12.12 | 17.97 | 30.17 | 43.23 |
|
||||
<!-- bench_compare_l16 end -->
|
||||
|
||||
<!-- bench_compare_la16 start -->
|
||||
@@ -173,8 +174,8 @@ Pipeline:
|
||||
- The `image` crate does not support multiplying and dividing by alpha channel.
|
||||
- The `resize` crate does not support this pixel format.
|
||||
|
||||
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|
||||
|-------------|:-------:|:--------:|:----------:|:--------:|
|
||||
| fir rust | 0.29 | 77.94 | 118.99 | 159.79 |
|
||||
| fir simd128 | - | 40.72 | 65.98 | 92.33 |
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|-------------|:-------:|:-----:|:--------:|:-------:|:--------:|
|
||||
| fir rust | 0.27 | 50.38 | 67.82 | 103.23 | 138.77 |
|
||||
| fir simd128 | 0.27 | 30.33 | 42.07 | 67.68 | 93.42 |
|
||||
<!-- bench_compare_la16 end -->
|
||||
|
||||
+17
-17
@@ -8,7 +8,7 @@ Environment:
|
||||
- Ubuntu 22.04 (linux 6.2.0)
|
||||
- Rust 1.74.0
|
||||
- criterion = "0.5.1"
|
||||
- fast_image_resize = "2.7.1"
|
||||
- fast_image_resize = "2.7.3"
|
||||
|
||||
|
||||
Other libraries used to compare of resizing speed:
|
||||
@@ -43,8 +43,8 @@ Pipeline:
|
||||
| resize | - | 26.85 | 53.61 | 97.96 | 144.70 |
|
||||
| libvips | 7.82 | 60.15 | 20.00 | 30.62 | 39.94 |
|
||||
| fir rust | 0.29 | 24.68 | 40.63 | 73.49 | 108.02 |
|
||||
| fir sse4.1 | - | 7.97 | 9.55 | 14.06 | 19.68 |
|
||||
| fir avx2 | - | 6.96 | 7.62 | 9.77 | 14.05 |
|
||||
| fir sse4.1 | 0.29 | 7.97 | 9.55 | 14.06 | 19.68 |
|
||||
| fir avx2 | 0.29 | 6.96 | 7.62 | 9.77 | 14.05 |
|
||||
<!-- bench_compare_rgb end -->
|
||||
|
||||
<!-- bench_compare_rgba start -->
|
||||
@@ -64,8 +64,8 @@ Pipeline:
|
||||
| resize | - | 42.84 | 85.35 | 147.60 | 211.91 |
|
||||
| libvips | 9.44 | 122.38 | 190.92 | 339.54 | 502.03 |
|
||||
| fir rust | 0.19 | 60.50 | 100.79 | 188.09 | 291.29 |
|
||||
| fir sse4.1 | - | 11.41 | 13.19 | 17.30 | 22.50 |
|
||||
| fir avx2 | - | 9.22 | 10.19 | 12.24 | 16.34 |
|
||||
| fir sse4.1 | 0.19 | 11.41 | 13.19 | 17.30 | 22.50 |
|
||||
| fir avx2 | 0.19 | 9.22 | 10.19 | 12.24 | 16.34 |
|
||||
<!-- bench_compare_rgba end -->
|
||||
|
||||
<!-- bench_compare_l start -->
|
||||
@@ -85,8 +85,8 @@ Pipeline:
|
||||
| resize | - | 10.95 | 18.66 | 38.15 | 65.44 |
|
||||
| libvips | 4.70 | 25.07 | 9.59 | 13.30 | 17.90 |
|
||||
| fir rust | 0.16 | 13.61 | 13.48 | 14.79 | 22.38 |
|
||||
| fir sse4.1 | - | 5.83 | 5.30 | 6.05 | 8.52 |
|
||||
| fir avx2 | - | 6.60 | 6.24 | 4.58 | 7.83 |
|
||||
| fir sse4.1 | 0.16 | 5.83 | 5.30 | 6.05 | 8.52 |
|
||||
| fir avx2 | 0.16 | 6.60 | 6.24 | 4.58 | 7.83 |
|
||||
<!-- bench_compare_l end -->
|
||||
|
||||
<!-- bench_compare_la start -->
|
||||
@@ -107,8 +107,8 @@ Pipeline:
|
||||
|------------|:-------:|:-----:|:--------:|:-------:|:--------:|
|
||||
| libvips | 6.43 | 72.86 | 117.83 | 205.40 | 294.15 |
|
||||
| fir rust | 0.18 | 26.02 | 25.19 | 30.37 | 42.94 |
|
||||
| fir sse4.1 | - | 11.90 | 12.52 | 14.58 | 18.16 |
|
||||
| fir avx2 | - | 8.09 | 8.61 | 10.27 | 12.51 |
|
||||
| fir sse4.1 | 0.18 | 11.90 | 12.52 | 14.58 | 18.16 |
|
||||
| fir avx2 | 0.18 | 8.09 | 8.61 | 10.27 | 12.51 |
|
||||
<!-- bench_compare_la end -->
|
||||
|
||||
<!-- bench_compare_rgb16 start -->
|
||||
@@ -128,8 +128,8 @@ Pipeline:
|
||||
| resize | - | 26.96 | 49.81 | 95.97 | 141.46 |
|
||||
| libvips | 16.00 | 62.87 | 54.24 | 101.91 | 125.80 |
|
||||
| fir rust | 0.36 | 26.93 | 43.67 | 78.12 | 113.94 |
|
||||
| fir sse4.1 | - | 16.07 | 22.95 | 36.78 | 52.08 |
|
||||
| fir avx2 | - | 14.25 | 19.79 | 30.81 | 38.21 |
|
||||
| fir sse4.1 | 0.36 | 16.07 | 22.95 | 36.78 | 52.08 |
|
||||
| fir avx2 | 0.36 | 14.25 | 19.79 | 30.81 | 38.21 |
|
||||
<!-- bench_compare_rgb16 end -->
|
||||
|
||||
<!-- bench_compare_rgba16 start -->
|
||||
@@ -149,8 +149,8 @@ Pipeline:
|
||||
| resize | - | 43.09 | 84.11 | 144.84 | 207.43 |
|
||||
| libvips | 22.91 | 129.09 | 205.81 | 365.72 | 538.03 |
|
||||
| fir rust | 0.37 | 62.01 | 80.56 | 118.95 | 158.09 |
|
||||
| fir sse4.1 | - | 31.89 | 42.41 | 64.19 | 86.30 |
|
||||
| fir avx2 | - | 20.46 | 26.01 | 36.93 | 48.50 |
|
||||
| fir sse4.1 | 0.37 | 31.89 | 42.41 | 64.19 | 86.30 |
|
||||
| fir avx2 | 0.37 | 20.46 | 26.01 | 36.93 | 48.50 |
|
||||
<!-- bench_compare_rgba16 end -->
|
||||
|
||||
<!-- bench_compare_l16 start -->
|
||||
@@ -170,8 +170,8 @@ Pipeline:
|
||||
| resize | - | 9.95 | 16.07 | 33.47 | 58.32 |
|
||||
| libvips | 7.63 | 26.42 | 21.70 | 37.33 | 46.08 |
|
||||
| fir rust | 0.17 | 14.37 | 21.34 | 30.01 | 40.55 |
|
||||
| fir sse4.1 | - | 5.61 | 7.75 | 13.11 | 19.06 |
|
||||
| fir avx2 | - | 5.68 | 6.46 | 8.81 | 13.84 |
|
||||
| fir sse4.1 | 0.17 | 5.61 | 7.75 | 13.11 | 19.06 |
|
||||
| fir avx2 | 0.17 | 5.68 | 6.46 | 8.81 | 13.84 |
|
||||
<!-- bench_compare_l16 end -->
|
||||
|
||||
<!-- bench_compare_la16 start -->
|
||||
@@ -192,6 +192,6 @@ Pipeline:
|
||||
|------------|:-------:|:-----:|:--------:|:-------:|:--------:|
|
||||
| libvips | 12.52 | 79.90 | 134.06 | 232.13 | 328.53 |
|
||||
| fir rust | 0.20 | 27.21 | 36.24 | 58.69 | 76.85 |
|
||||
| fir sse4.1 | - | 15.36 | 21.61 | 33.88 | 46.37 |
|
||||
| fir avx2 | - | 11.81 | 14.87 | 22.01 | 29.22 |
|
||||
| fir sse4.1 | 0.20 | 15.36 | 21.61 | 33.88 | 46.37 |
|
||||
| fir avx2 | 0.20 | 11.81 | 14.87 | 22.01 | 29.22 |
|
||||
<!-- bench_compare_la16 end -->
|
||||
|
||||
Reference in New Issue
Block a user