chore: add rayon parallel dependency and release profile optimizations to jest_rust

Add rayon 1.10.0 as a dependency in Cargo.toml and refactor Stats processing into a dedicated method that uses `par_iter()` for parallel file processing. Configure release profile with thin LTO, disabled debug symbols, and abort-on-panic for maximum runtime performance. Update README with build and benchmark integration instructions for the jest_rust project.
This commit is contained in:
JestDotty
2025-03-24 01:39:12 +00:00
parent 114e596105
commit 144fc9b2ac
5 changed files with 152 additions and 78 deletions
+6
View File
@@ -4,3 +4,9 @@ version = "0.1.0"
edition = "2024"
[dependencies]
rayon = "1.10.0"
[profile.release]
lto = "thin" # Full Link-Time Optimization for maximum runtime speed
debug = false # Disables debug symbols to streamline the binary
panic = "abort"