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 +4 -4
- data/CHANGELOG.md +13 -0
- data/README.md +2 -2
- data/lib/fast/prometheus/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cc4b46dd402452acfca0d58f4f3230850c4ef19101f8d84027cc903877451efc
|
|
4
|
+
data.tar.gz: eb10abc576793f118af30ee6ea4ce44b5339939d5906816b4f92d3e14af64762
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
103
|
-
prometheus-client's; histogram observe is **3.
|
|
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
|
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.
|
|
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.
|
|
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.
|
|
81
|
+
version: '0.2'
|
|
82
82
|
- !ruby/object:Gem::Dependency
|
|
83
83
|
name: console
|
|
84
84
|
requirement: !ruby/object:Gem::Requirement
|