Crates.io | sas |
lib.rs | sas |
version | 0.1.3 |
source | src |
created_at | 2024-02-04 15:08:18.565477 |
updated_at | 2024-02-05 06:06:51.880587 |
description | Salty-and-Sweet one-line Rust Runtime Performance Optimization Library |
homepage | https://github.com/ulagbulag/sas |
repository | https://github.com/ulagbulag/sas |
max_upload_size | |
id | 1126431 |
size | 25,885 |
SAS (Salty-And-Sweet) is an one-line Rust runtime optimization library.
rayon
: numa
feature should be enabled
fn main() {
// That's end!
sas::init();
// ... your heavy works
}
TBD
This sections describes the benchmark results. It uses default package features (zero-touch).
Note that the benchmark metrics are sensitive to process, so please benchmark each metric separately!
The lower elapsed time is the better.
Machine | OS (in Docker) | Kernel | Metric | Elapsed time (OFF) | Elapsed time (ON) | Performance Boost |
---|---|---|---|---|---|---|
NVIDIA DGX-2 | Ubuntu 22.04 | 5.14.0-284.11.1.el9_2.x86_64 | rayon_sum | 5,175,824 ns/iter (+/- 2,767,386) | 247,236 ns/iter (+/- 6,151) | 20.93x |
SAS is distributed under the terms of both the MIT license and the Apache License (Version 2.0). See LICENSE-APACHE and LICENSE-MIT for details. Opening a pull request is assumed to signal agreement with these licensing terms.