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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user