mirror of
https://github.com/Cykooz/fast_image_resize.git
synced 2026-10-08 01:11:09 +00:00
34 lines
950 B
Plaintext
34 lines
950 B
Plaintext
## Benchmarks of fast_image_resize crate for {{ arch_name }} architecture
|
|
|
|
Environment:
|
|
|
|
{% if arch_id == "arm64" -%}
|
|
- CPU: Neoverse-N1 2GHz (Oracle Cloud Compute, VM.Standard.A1.Flex)
|
|
{% else -%}
|
|
- CPU: AMD Ryzen 9 5950X
|
|
- RAM: DDR4 4000 MHz
|
|
{% endif -%}
|
|
- Ubuntu 22.04 (linux 6.5.0)
|
|
- Rust 1.79
|
|
- criterion = "0.5.1"
|
|
- fast_image_resize = "4.1.0"
|
|
{% if arch_id == "wasm32" -%}
|
|
- wasmtime = "22.0.0"
|
|
{% endif %}
|
|
|
|
Other libraries used to compare of resizing speed:
|
|
|
|
- image = "0.25.1" (<https://crates.io/crates/image>)
|
|
- resize = "0.8.4" (<https://crates.io/crates/resize>, single-threaded mode)
|
|
{% if arch_id != "wasm32" -%}
|
|
- libvips = "8.12.1" (single-threaded mode)
|
|
{% endif %}
|
|
|
|
Resize algorithms:
|
|
|
|
- Nearest
|
|
- 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
|