Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ project adheres to [Semantic Versioning](http://semver.org/).
- AggregatorRegistry renamed to ClusterRegistry, old name deprecated
- chore: update faceoff to 1.1
- perf: Stat aggregation uses similar strategy to collection. 60% faster aggregation
- ci: Run additional benchmarks against trunk

### Added

Expand Down
6 changes: 3 additions & 3 deletions benchmarks/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ const debug = require('debug')('benchmark');
*/

const benchmarks = new Benchmark({
'prom-client@latest': 'prom-client@latest',
'prom-client@trunk': 'git@github.com:siimon/prom-client',
'prom-client@current': { location: process.cwd() },
released: 'prom-client@latest',
trunk: 'git@github.com:siimon/prom-client',
current: { location: process.cwd() },
});

benchmarks.suite('counter', require('./counter'));
Expand Down
8 changes: 2 additions & 6 deletions benchmarks/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const Path = require('path');
module.exports = setupUtilSuite;

function setupUtilSuite(suite) {
const skip = ['prom-client@latest'];
const skip = ['released'];

suite.add(
'hashObject',
Expand Down Expand Up @@ -57,10 +57,6 @@ function setupUtilSuite(suite) {
suite.add(
'LabelGrouper.keyFrom()',
(client, labelGrouper) => {
if (labelGrouper === undefined) {
return;
}

labelGrouper.keyFrom({
foo: 'longish',
user_agent: 'Chrome',
Expand All @@ -77,7 +73,7 @@ function setupUtilSuite(suite) {

return new Util.LabelGrouper();
},
skip: ['prom-client@latest', 'prom-client@trunk'],
skip: ['released', 'trunk'],
},
);
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"eslint-plugin-n": "^17.20.0",
"eslint-plugin-prettier": "^5.0.1",
"express": "^5.1.0",
"faceoff": "^1.1.0",
"faceoff": "~1.3.1",
"globals": "^16.2.0",
"husky": "^9.0.0",
"jest": "^30.0.2",
Expand Down
Loading