Commit 9de11f0
release: v6.25.0 - Scientific Benchmarking Command
Add bashrs bench command for deterministic, scientifically rigorous shell script benchmarking.
NEW FEATURES:
- Scientific benchmarking with warmup + measured iterations
- Statistical analysis (mean, median, stddev, min, max, variance)
- Environment capture (CPU, RAM, OS, hostname)
- Quality gates integration (--strict linting, --verify-determinism)
- Multiple output formats (console, JSON)
- Comparison mode for multiple scripts
- Quiet mode for automation
IMPLEMENTATION:
- EXTREME TDD methodology (RED → GREEN → REFACTOR)
- 17 comprehensive CLI integration tests
- 8 unit tests for statistical functions
- NASA-quality specification (docs/specifications/bench-command.md)
- 550+ lines of implementation (rash/src/cli/bench.rs)
QUALITY METRICS:
- All 17 bench tests passing
- All 6000+ existing tests passing (zero regressions)
- 642 property tests passing (project-wide)
- Clippy clean, rustfmt formatted
- Real-world examples tested
DEPENDENCIES:
- Added sysinfo = "0.31" for system information detection
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 2e55e2d commit 9de11f0
File tree
9 files changed
+1483
-1
lines changed- docs/specifications
- rash
- src/cli
- tests
9 files changed
+1483
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
10 | 71 | | |
11 | 72 | | |
12 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments