Skip to content

Commit 5eaed1d

Browse files
committed
v1.1.2
1 parent cd4ea6a commit 5eaed1d

File tree

3 files changed

+21
-3
lines changed

3 files changed

+21
-3
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.1.2] - 2025-07-25
11+
12+
### Added
13+
- Comprehensive benchmarking rake tasks for performance analysis
14+
- `rake benchmark:parse` - PURL parsing performance benchmarks
15+
- `rake benchmark:types` - Package type parsing comparison
16+
- `rake benchmark:registry` - Registry URL generation benchmarks
17+
- `rake benchmark:all` - Run all benchmarks
18+
19+
### Improved
20+
- **26% improvement in parsing throughput** (~175K PURLs/second)
21+
- **8% improvement in string conversion performance** (~315K conversions/second)
22+
- **7% improvement in object creation** (~280K objects/second)
23+
- Optimized string operations in parse method with conditional regex application
24+
- Reduced string allocations in `to_s` method using array joining
25+
- Cached compiled regexes with `.freeze` for better performance
26+
- Lower memory allocation pressure in high-throughput scenarios
27+
1028
## [1.1.1] - 2025-07-25
1129

1230
### Added

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
purl (1.1.1)
4+
purl (1.1.2)
55

66
GEM
77
remote: https://rubygems.org/
@@ -59,7 +59,7 @@ CHECKSUMS
5959
prettyprint (0.2.0) sha256=2bc9e15581a94742064a3cc8b0fb9d45aae3d03a1baa6ef80922627a0766f193
6060
psych (5.2.6) sha256=814328aa5dcb6d604d32126a20bc1cbcf05521a5b49dbb1a8b30a07e580f316e
6161
public_suffix (6.0.2) sha256=bfa7cd5108066f8c9602e0d6d4114999a5df5839a63149d3e8b0f9c1d3558394
62-
purl (1.1.1)
62+
purl (1.1.2)
6363
rake (13.3.0) sha256=96f5092d786ff412c62fde76f793cc0541bd84d2eb579caa529aa8a059934493
6464
rdoc (6.14.2) sha256=9fdd44df130f856ae70cc9a264dfd659b9b40de369b16581f4ab746e42439226
6565
reline (0.6.2) sha256=1dad26a6008872d59c8e05244b119347c9f2ddaf4a53dce97856cd5f30a02846

lib/purl/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module Purl
4-
VERSION = "1.1.1"
4+
VERSION = "1.1.2"
55
end

0 commit comments

Comments
 (0)