token-resolver v1.0.2 released!
1.0.2 - 2026-02-22
- TAG: v1.0.2
- COVERAGE: 98.13% – 263/268 lines in 10 files
- BRANCH COVERAGE: 91.18% – 62/68 branches in 10 files
- 96.77% documented
Added
- Benchmarking tools — Performance comparison suite comparing
token-resolveragainst simpler alternatives (String#gsubandKernel#sprintf):benchmarks/comparison.rb— Comprehensive benchmark script measuring iterations per second across four realistic scenarios (simple replacement, moderate complexity, high complexity, and large documents with sparse tokens)gemfiles/modular/benchmark/ips.gemfile— Development dependency forbenchmark-ipsgem- Rake tasks:
rake bench:comparison(run comparison),rake bench:list(list benchmarks),rake bench:run(run all benchmarks),rake bench(alias) BENCHMARK.md— Results and analysis showing token-resolver is 100-3000x slower due to PEG parsing, validation, and AST building; includes guidance on when to use each approach and real-world performance context
Many paths lead to being a sponsor or a backer of this project. Are you on such a path?