Prepare to release.

This commit is contained in:
Kirill Kuzminykh
2022-03-23 22:36:24 +03:00
parent d657aef4cf
commit f66efe5cfa
3 changed files with 25 additions and 25 deletions
+4 -4
View File
@@ -1,9 +1,9 @@
## [Unreleased] - ReleaseDate
- Added optimisation of convolution U16x3 images with helps of ``SSE4.1`` and
``AVX2`` instructions.
- Added partial optimisation of convolution U8 images with helps of ``SSE4.1``
instructions.
- Added optimisation for convolution of U16x3 images with helps of ``SSE4.1``
and ``AVX2`` instructions.
- Added partial optimisation for convolution of U8 images with helps of
``SSE4.1`` instructions.
- Allowed to create an instance of `Image`, `ImageVew` and `ImageViewMut`
from a buffer larger than necessary
([#5](https://github.com/Cykooz/fast_image_resize/issues/5)).
+20 -20
View File
@@ -64,11 +64,11 @@ Pipeline:
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|------------|:-------:|:--------:|:----------:|:--------:|
| image | 51.959 | 114.977 | 189.989 | 271.316 |
| resize | 15.317 | 65.768 | 119.557 | 173.124 |
| fir rust | 0.488 | 54.104 | 90.222 | 131.518 |
| fir sse4.1 | - | 38.046 | 43.538 | 60.816 |
| fir avx2 | - | 10.726 | 14.077 | 19.809 |
| image | 53.21 | 116.37 | 191.14 | 271.65 |
| resize | 15.30 | 65.72 | 120.28 | 175.05 |
| fir rust | 0.49 | 54.24 | 90.68 | 131.56 |
| fir sse4.1 | - | 37.70 | 43.88 | 61.05 |
| fir avx2 | - | 10.92 | 14.15 | 19.81 |
### Resize RGBA image (U8x4) 4928x3279 => 852x567
@@ -81,11 +81,11 @@ Pipeline:
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|------------|:-------:|:--------:|:----------:|:--------:|
| image | 52.430 | 109.720 | 181.220 | 261.242 |
| resize | 18.326 | 79.389 | 149.271 | 219.359 |
| fir rust | 12.123 | 62.975 | 88.053 | 117.095 |
| fir sse4.1 | 9.125 | 20.154 | 26.302 | 34.136 |
| fir avx2 | 7.401 | 15.160 | 18.672 | 23.940 |
| image | 53.09 | 110.62 | 181.02 | 260.38 |
| resize | 18.28 | 79.18 | 148.75 | 218.27 |
| fir rust | 12.08 | 62.61 | 87.89 | 116.05 |
| fir sse4.1 | 9.13 | 20.19 | 26.36 | 33.99 |
| fir avx2 | 7.37 | 15.23 | 18.72 | 24.08 |
### Resize grayscale image (U8) 4928x3279 => 852x567
@@ -99,11 +99,11 @@ Pipeline:
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|------------|:-------:|:--------:|:----------:|:--------:|
| image | 47.712 | 71.624 | 108.758 | 161.086 |
| resize | 9.353 | 24.461 | 47.598 | 80.996 |
| fir rust | 0.198 | 20.150 | 22.275 | 32.542 |
| fir sse4.1 | - | 18.201 | 18.971 | 27.704 |
| fir avx2 | - | 9.608 | 7.776 | 11.746 |
| image | 48.05 | 72.53 | 109.80 | 161.38 |
| resize | 9.34 | 24.47 | 47.70 | 80.72 |
| fir rust | 0.20 | 19.53 | 22.60 | 32.46 |
| fir sse4.1 | - | 17.41 | 18.66 | 27.81 |
| fir avx2 | - | 9.58 | 7.74 | 11.70 |
### Resize RGB16 image (U16x3) 4928x3279 => 852x567
@@ -117,11 +117,11 @@ Pipeline:
| | Nearest | Bilinear | CatmullRom | Lanczos3 |
|------------|:-------:|:--------:|:----------:|:--------:|
| image | 52.450 | 112.628 | 180.484 | 255.605 |
| resize | 16.983 | 67.382 | 121.378 | 174.913 |
| fir rust | 0.785 | 58.209 | 95.504 | 131.758 |
| fir sse4.1 | - | 38.562 | 63.013 | 88.722 |
| fir avx2 | - | 32.981 | 49.626 | 58.803 |
| image | 52.81 | 113.30 | 180.99 | 256.26 |
| resize | 17.05 | 68.81 | 121.87 | 175.41 |
| fir rust | 0.79 | 58.25 | 96.49 | 132.55 |
| fir sse4.1 | - | 39.03 | 63.09 | 89.33 |
| fir avx2 | - | 33.29 | 48.96 | 58.77 |
## Examples
+1 -1
View File
@@ -84,7 +84,7 @@ pub fn print_md_table(bench: &Bench) {
res_map.insert(crate_name.clone(), Vec::new());
}
if let Some(values) = res_map.get_mut(&crate_name) {
values.push(format!("{:.3}", value));
values.push(format!("{:.2}", value));
}
}
}