We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82ea640 commit b11cc95Copy full SHA for b11cc95
1 file changed
lib/internal/perf/metrics.js
@@ -297,8 +297,6 @@ class Counter extends Metric {
297
* @param {object} [meta] Additional metadata to include with the report.
298
*/
299
increment(n = 1, meta) {
300
- if (!this.shouldReport) return;
301
-
302
if (typeof n === 'object') {
303
meta = n;
304
n = 1;
@@ -314,8 +312,6 @@ class Counter extends Metric {
314
312
315
313
316
decrement(n = 1, meta) {
317
318
319
320
321
0 commit comments