fast-prometheus 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 567abd58fbe511ba93717dbec96fa202313d689ed1fb30b765dace0de60d141f
4
- data.tar.gz: 6c9cf404e4f7c0b7f54ea65f0f6c009ea488abdbf0bb2e1705d9c8e43e3b3b46
3
+ metadata.gz: cc4b46dd402452acfca0d58f4f3230850c4ef19101f8d84027cc903877451efc
4
+ data.tar.gz: eb10abc576793f118af30ee6ea4ce44b5339939d5906816b4f92d3e14af64762
5
5
  SHA512:
6
- metadata.gz: cc0c6d858de7e4893e84dc615694a1488a84829eefed4511ad8ca445aa2be354f54b382e3edb54c78363bb5b1b4625ae026db395471fc47a49b3e027bbaa1c7e
7
- data.tar.gz: 1e0c1751a0ade41579e5932044b37d5cecd4df4324bdcccc97d4886bf62d0569e1f030312645b8872f327ce2ffda25c3c525e77a3fe23022a7de125b30f5aec3
6
+ metadata.gz: 393888fd071c19df54148a57187c415d3397107a51b96e0d442b5931be691aea0ca23f3570daaf0654b644993f8f5da8ae1b97be8da864c96b01e7948c2f90c9
7
+ data.tar.gz: 7a842a1b2381f9b43c38a378c676b77d692619d74d6df7ac6ff979a783a041e248a8b7afcd7f2ec3cd569bf5be386500fffbd7efaad2ce729cf8f9bded0c6791
data/CHANGELOG.md CHANGED
@@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.3.1] - 2026-09-19
11
+
12
+ ### Changed
13
+
14
+ - Requires [fast-protowire](https://github.com/jetpks/fast-protowire) `~> 0.2`,
15
+ whose encoder writes nested messages in place and allocates nothing per
16
+ message: the declared-message paths here (family headers, native
17
+ histograms, OTLP export) get that for free, and the `Wire` primitives the
18
+ per-series renderer uses append text as bytes with no binary copy on
19
+ Ruby 3.4+.
20
+ - Benchmarks re-taken on the new dependency and republished on the
21
+ benchmarks page and in the README.
22
+
10
23
  ## [0.3.0] - 2026-09-18
11
24
 
12
25
  ### Changed
data/README.md CHANGED
@@ -99,8 +99,8 @@ comparisons against `prometheus-client` and `google-protobuf`; see
99
99
  in a hundredth of the GC time; taking the snapshot it reads is 1 ms and one Hash per metric
100
100
  - The text renderer allocates **66x fewer objects** than prometheus-client's formatter
101
101
  for the same body, and renders it 3.2x faster at 36,000 series
102
- - Bound counter and gauge writes allocate nothing and are **1.45x** faster than
103
- prometheus-client's; histogram observe is **3.1x** faster and summary observe **3.3x**
102
+ - Bound counter and gauge writes allocate nothing and are **1.4x** faster than
103
+ prometheus-client's; histogram observe is **3.0x** faster and summary observe **3.2x**
104
104
  - Native histogram observe runs at **1.32M i/s** with no prometheus-client equivalent
105
105
 
106
106
  ## Development
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Fast
4
4
  module Prometheus
5
- VERSION = "0.3.0"
5
+ VERSION = "0.3.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fast-prometheus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Jacobs
@@ -71,14 +71,14 @@ dependencies:
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: '0.1'
74
+ version: '0.2'
75
75
  type: :runtime
76
76
  prerelease: false
77
77
  version_requirements: !ruby/object:Gem::Requirement
78
78
  requirements:
79
79
  - - "~>"
80
80
  - !ruby/object:Gem::Version
81
- version: '0.1'
81
+ version: '0.2'
82
82
  - !ruby/object:Gem::Dependency
83
83
  name: console
84
84
  requirement: !ruby/object:Gem::Requirement