Skip to content

Commit

Permalink
Do not add timing options to case tags
Browse files Browse the repository at this point in the history
  • Loading branch information
dianaclarke committed Apr 7, 2021
1 parent 6d8ae68 commit 64b1e2b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
4 changes: 0 additions & 4 deletions conbench/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,6 @@ def benchmark(self, f, name, tags, context, run, options):
"time_unit": "s",
}

# TODO: don't add to tags for now for backwards compatibility
del timing_options["drop_caches"]

tags.update(timing_options)
context.update(self.language)
benchmark, _ = self.record(
result,
Expand Down
6 changes: 0 additions & 6 deletions conbench/tests/benchmark/test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@
},
"tags": {
"year": "2020",
"gc_collect": True,
"gc_disable": True,
"name": "addition",
},
}
Expand All @@ -85,8 +83,6 @@ def test_runner_without_cases():
assert not BenchmarkFacadeSchema.create.validate(result)
expected_tags = {
"year": "2020",
"gc_collect": True,
"gc_disable": True,
"name": "addition",
}
assert output == 2
Expand All @@ -111,8 +107,6 @@ def test_runner_with_cases():
"fruit": "apple",
"count": 1,
"dataset": "sample",
"gc_collect": True,
"gc_disable": True,
"name": "subtraction",
}
assert output == 99
Expand Down

0 comments on commit 64b1e2b

Please sign in to comment.