Skip to content

Commit 94dee0e

Browse files
committed
docs: add v0.2.1 changelog entry with complete release notes
- Add comprehensive changelog entry for v0.2.1 patch release - Include fixes for CI workflows, merge conflicts, and performance benchmarks - Document performance optimizations and caching improvements - List version updates and GitHub Actions improvements - Add commit summary for complete traceability
1 parent 428cb8a commit 94dee0e

File tree

2 files changed

+35
-2
lines changed

2 files changed

+35
-2
lines changed

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,31 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.2.1] - 2025-10-24
9+
10+
### Fixed
11+
- Fixed YAML syntax error in enhanced-ci workflow preflight job
12+
- Resolved merge conflicts in Cargo files during release process
13+
- Fixed Criterion.rs benchmark sample size assertion failures in performance tests
14+
15+
### Performance
16+
- Optimized Enhanced CI workflow with improved caching (84% complexity reduction)
17+
- Enabled sccache with RUSTC_WRAPPER for faster compilation
18+
- Consolidated 15+ duplicate cache configurations into 4 optimized strategies
19+
- Added hierarchical cache restore keys for better hit rates
20+
21+
### Changed
22+
- Updated all crate versions from 0.2.0 to 0.2.1
23+
- Updated to latest GitHub Actions (actions/cache@v4, checkout@v4)
24+
- Improved benchmark configurations with proper sample sizes and measurement times
25+
26+
### Commits
27+
- chore: bump version to 0.2.1
28+
- fix: correct indentation in changelog-sync workflow Python script
29+
- fix: resolve merge conflicts in Cargo files and fix changelog-sync workflow
30+
- perf: optimize enhanced-ci workflow with improved caching and reduced duplication
31+
- fix: resolve Criterion.rs benchmark sample size assertion failures
32+
833
## [0.1.10] - 2025-10-23
934

1035
### 🚀 Features

crates/core/benches/performance_comparison.rs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ fn bench_small_codebase(c: &mut Criterion) {
5959
let _detectors = DetectorProfile::Comprehensive.get_detectors();
6060

6161
let mut group = c.benchmark_group("small_codebase");
62+
group.sample_size(20); // Good sample size for fast tests
63+
group.measurement_time(std::time::Duration::from_secs(5)); // Quick measurement for small tests
6264

6365
// Standard scanner
6466
group.bench_with_input(
@@ -111,7 +113,8 @@ fn bench_medium_codebase(c: &mut Criterion) {
111113
let _detectors = DetectorProfile::Comprehensive.get_detectors();
112114

113115
let mut group = c.benchmark_group("medium_codebase");
114-
group.sample_size(10); // Fewer samples for larger tests
116+
group.sample_size(15); // Adequate samples for statistical analysis
117+
group.measurement_time(std::time::Duration::from_secs(8)); // Reasonable measurement time
115118

116119
// Standard scanner
117120
group.bench_with_input(
@@ -163,7 +166,8 @@ fn bench_large_codebase(c: &mut Criterion) {
163166
let _detectors = DetectorProfile::Comprehensive.get_detectors();
164167

165168
let mut group = c.benchmark_group("large_codebase");
166-
group.sample_size(5); // Even fewer samples for largest tests
169+
group.sample_size(10); // Minimum required samples for statistical analysis
170+
group.measurement_time(std::time::Duration::from_secs(15)); // Longer measurement time for stability
167171

168172
// Skip standard scanner for large tests (too slow)
169173

@@ -204,6 +208,8 @@ fn bench_cache_performance(c: &mut Criterion) {
204208
let _detectors = DetectorProfile::Comprehensive.get_detectors();
205209

206210
let mut group = c.benchmark_group("cache_performance");
211+
group.sample_size(15); // Good sample size for cache performance testing
212+
group.measurement_time(std::time::Duration::from_secs(6)); // Reasonable time for cache tests
207213

208214
// Optimized scanner with cache
209215
group.bench_with_input(
@@ -248,6 +254,8 @@ fn bench_pattern_detection_methods(c: &mut Criterion) {
248254
+ &"regular code line\n".repeat(2000);
249255

250256
let mut group = c.benchmark_group("pattern_detection_methods");
257+
group.sample_size(25); // Higher sample size for micro-benchmarks
258+
group.measurement_time(std::time::Duration::from_secs(4)); // Fast measurement for pattern detection
251259

252260
// Pure regex approach
253261
group.bench_function("regex_only", |b| {

0 commit comments

Comments
 (0)