Mission: a transparent, cross‑platform measurement of raw CPU throughput and scalability.
| Crate | Description |
|---|---|
| core | Benchmark kernel, stats, JSON output |
| workloads | Test implementations |
| cli | End‑user command‑line interface |
Usage:
# print to stdout
threadstone-cli schema
# or write to file
threadstone-cli schema -o result.schema.jsoncargo install --path cli
threadstone run -w dhrystone -t 4 -s 3 -o results.json
threadstone verify results.jsonThe run_dhry_parallel.sh script runs Dhrystone benchmarks in parallel to fully utilize all CPU cores:
# Run with default 5 samples per core
./run_dhry_parallel.sh
# Run with custom samples per core
./run_dhry_parallel.sh 10This script automatically detects available CPU cores and spawns one benchmark instance per core to achieve maximum CPU utilization. It measures and reports total execution time and CPU time used.
# Run STREAM benchmark using all cores
cargo run -p threadstone-cli -- run -w stream --threads 0 --samples 5