Commit Graph
6 Commits
Author SHA1 Message Date
12bitfloat 5c50a45101 fix: comment out slow python3 benchmark section in bench.py
The Python benchmark using isspam.py was removed from the benchmark
run because its execution time was excessively slow compared to the
C++ and Rust implementations, skewing overall timing results.
2025-10-06 22:56:44 +00:00
12bitfloat e516f5e869 feat: add initial SIMD analysis and io_uring module, drop core_affinity and memmap2 deps
Introduce a new `analyze_simd` function in main.rs using AVX2 256-bit registers for parallel text scanning, replacing the previous sequential analysis path. Add a stub `uring` module for future async I/O integration. Remove `core_affinity` and `memmap2` crate dependencies from Cargo.toml and Cargo.lock, along with their associated `libc`, `num_cpus`, `hermit-abi`, and `winapi` transitive dependencies. Comment out `mimalloc` and `io-uring` crate references. Uncomment file reading timing instrumentation and add a `bench_rust_only` Makefile target for direct benchmark execution.
2025-10-06 22:55:06 +00:00
12bitfloat 46282684b3 fix: correct .gitignore trailing slashes and add missing risspam rust source files 2025-10-06 15:43:44 +00:00
12bitfloat bb97bff828 docs: add build_all target and benchmark_only shortcut to Makefile, update README with version credits and build instructions 2025-10-06 11:52:54 +00:00
12bitfloat 12d83c4ae1 fix: suppress dead_code and unused import warnings in risspam main.rs
- Added `#![allow(dead_code)]` attribute to suppress warnings for unused items
- Removed unused imports: `Mmap`, `CoreId`, `OnceCell`, `OsString`, `File`, `assert_unchecked`, `MaybeUninit`, `Deref`, `stat`, `FileExt`, `OpenOptionsExt`, `fs`, `mem`, `thread`
- Commented out unused variable `do_parallel` to silence unused variable warning
- Added `#[allow(unused_mut)]` attribute on `stats` variable with safety justification comment
- Fixed variable name from `num_cores` to `num_threads` in `ThreadPoolBuilder::num_threads()` call
2025-10-06 11:45:18 +00:00
12bitfloat 2468b85451 perf: add core_affinity and memmap2 dependencies, switch to edition 2024, and rewrite main.rs with mmap-based parallel file processing 2025-10-06 11:39:29 +00:00