mirror of
https://github.com/Cykooz/fast_image_resize.git
synced 2026-10-08 01:11:09 +00:00
- Updated f32 benchmarks for wasm32 arch.
This commit is contained in:
@@ -22,6 +22,6 @@ pub fn bench_downscale_l32f(bench_group: &mut utils::BenchGroup) {
|
||||
}
|
||||
|
||||
fn main() {
|
||||
let res = utils::run_bench(bench_downscale_l32f, "Compare resize of F32 image");
|
||||
let res = utils::run_bench(bench_downscale_l32f, "Compare resize of L32F image");
|
||||
utils::print_and_write_compare_result(&res);
|
||||
}
|
||||
|
||||
@@ -210,9 +210,9 @@ Pipeline:
|
||||
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|----------|:-------:|:-----:|:--------:|:-------:|:--------:|
|
||||
| image | 12.80 | - | 55.61 | 101.29 | 145.08 |
|
||||
| resize | 7.49 | 16.02 | 22.29 | 43.93 | 64.19 |
|
||||
| fir rust | 0.24 | 15.47 | 25.58 | 48.98 | 72.55 |
|
||||
| image | 12.99 | - | 56.03 | 101.33 | 145.65 |
|
||||
| resize | 7.49 | 16.01 | 22.29 | 43.94 | 64.20 |
|
||||
| fir rust | 0.24 | 11.16 | 19.88 | 39.47 | 60.69 |
|
||||
|
||||
<!-- bench_compare_l32f end -->
|
||||
|
||||
@@ -233,7 +233,7 @@ Pipeline:
|
||||
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|----------|:-------:|:-----:|:--------:|:-------:|:--------:|
|
||||
| fir rust | 0.36 | 33.44 | 46.92 | 75.38 | 105.46 |
|
||||
| fir rust | 0.42 | 32.63 | 44.56 | 70.31 | 97.25 |
|
||||
|
||||
<!-- bench_compare_la32f end -->
|
||||
|
||||
@@ -251,9 +251,9 @@ Pipeline:
|
||||
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|----------|:-------:|:-----:|:--------:|:-------:|:--------:|
|
||||
| image | 16.25 | - | 66.81 | 122.03 | 177.05 |
|
||||
| resize | 10.81 | 21.69 | 36.33 | 66.61 | 97.10 |
|
||||
| fir rust | 1.06 | 32.97 | 56.36 | 104.53 | 155.20 |
|
||||
| image | 16.21 | - | 66.86 | 121.43 | 176.37 |
|
||||
| resize | 10.69 | 21.69 | 36.37 | 66.61 | 97.14 |
|
||||
| fir rust | 1.05 | 31.15 | 52.73 | 96.40 | 143.25 |
|
||||
|
||||
<!-- bench_compare_rgb32f end -->
|
||||
|
||||
@@ -275,6 +275,6 @@ Pipeline:
|
||||
|
||||
| | Nearest | Box | Bilinear | Bicubic | Lanczos3 |
|
||||
|----------|:-------:|:-----:|:--------:|:-------:|:--------:|
|
||||
| fir rust | 1.25 | 59.62 | 84.12 | 137.68 | 192.68 |
|
||||
| fir rust | 1.27 | 55.23 | 78.01 | 126.18 | 175.73 |
|
||||
|
||||
<!-- bench_compare_rgba32f end -->
|
||||
|
||||
Reference in New Issue
Block a user