diff --git a/CHANGELOG.md b/CHANGELOG.md index de63ceba..be93c2aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ project adheres to [Semantic Versioning](http://semver.org/). - perf: Remove truthy conditionals from default metric collectors - fix: Preserve zero-valued Counter exemplars - perf: Remove object and array fallback truthiness from core metric paths +- 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 aaab60cc..1c84a6d6 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "eslint-plugin-n": "^17.20.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",