diff --git a/CHANGELOG.md b/CHANGELOG.md index ac5a8d3d..8bf6341f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ project adheres to [Semantic Versioning](http://semver.org/). - perf: Remove object and array fallback truthiness from core metric paths - fix: Non-nullish, non-string label values are coerced to strings when a combination is first stored, so exposition escapes them; the store also keeps its own copy, so mutating the caller's object after recording no longer changes the stored series - fix: Label-less summaries report `labels: {}` in `getMetricsAsJSON()`, like other metrics (Fixes [#838](https://github.com/prometheus/client_js/issues/838)) +- chore: update benchmark baseline to v0.16.1 ### Added diff --git a/benchmarks/index.js b/benchmarks/index.js index d96b5f66..dcabce22 100644 --- a/benchmarks/index.js +++ b/benchmarks/index.js @@ -28,8 +28,7 @@ const Benchmark = require('faceoff').default; */ const benchmarks = new Benchmark({ - // TODO: Update this once the module is published to as @prometheus-io/client. - latest: 'prom-client@latest', + latest: '@prometheus-io/client', trunk: 'git@github.com:prometheus/client_js', current: { location: process.cwd() }, }); diff --git a/benchmarks/util.js b/benchmarks/util.js index 45e31659..7dffce3c 100644 --- a/benchmarks/util.js +++ b/benchmarks/util.js @@ -19,8 +19,6 @@ const Path = require('path'); module.exports = setupUtilSuite; function setupUtilSuite(suite) { - const skip = ['latest']; - suite.add( 'hashObject', (client, Util) => { @@ -33,7 +31,7 @@ function setupUtilSuite(suite) { phase: 'load', }); }, - { setup: findUtil, skip }, + { setup: findUtil }, ); suite.add( @@ -49,7 +47,7 @@ function setupUtilSuite(suite) { label1: 4, }); }, - { setup, skip }, + { setup }, ); suite.add( @@ -65,7 +63,7 @@ function setupUtilSuite(suite) { label1: 4, }); }, - { setup, skip }, + { setup }, ); suite.add( @@ -91,7 +89,6 @@ function setupUtilSuite(suite) { return new Util.LabelGrouper(); }, - skip: ['latest', 'trunk'], }, ); } diff --git a/package.json b/package.json index a669dcca..03493dd2 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "eslint-plugin-n": "^18.3.0", "eslint-plugin-prettier": "^5.0.1", "express": "^5.1.0", - "faceoff": "^1.3.0", + "faceoff": "^1.4.0", "globals": "^16.2.0", "husky": "^9.0.0", "jest": "^30.0.2",