Skip to content

Commit 8722159

Browse files
committed
pull tags off benchmarkSpec
1 parent 52cd876 commit 8722159

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/bson-bench/src/task.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ export class Task {
2222
benchmark: Omit<BenchmarkSpecification, 'installLocation'> & { installLocation: string };
2323
taskName: string;
2424
testName: string;
25-
tags?: string[];
2625
/** @internal */
2726
children: ChildProcess[];
2827
/** @internal */
@@ -34,7 +33,6 @@ export class Task {
3433
this.result = undefined;
3534
this.children = [];
3635
this.hasRun = false;
37-
this.tags = benchmarkSpec.tags;
3836
this.benchmark = { ...benchmarkSpec, installLocation: Task.packageInstallLocation };
3937

4038
this.taskName = `${path.basename(this.benchmark.documentPath, 'json')}_${
@@ -121,7 +119,7 @@ export class Task {
121119
const perfSendResults: PerfSendResult = {
122120
info: {
123121
test_name: this.testName,
124-
tags: this.tags,
122+
tags: this.benchmark.tags,
125123
args: {
126124
warmup: this.benchmark.warmup,
127125
iterations: this.benchmark.iterations,

0 commit comments

Comments
 (0)