Skip to content

Commit

Permalink
Fix whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
tautschnig committed Mar 18, 2024
1 parent bd3d562 commit 82f23fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
4 changes: 1 addition & 3 deletions tools/benchcomp/benchcomp/visualizers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,7 @@ def _get_template():
"{{ bench_name }}": [{{ v0|round(3) }}, {{ v1|round(3) }}]
{%- endfor %}
```
Scatterplot axis ranges are
{{ d["scaled_metrics"][metric]["min_value"] }} (bottom/left) to
{{ d["scaled_metrics"][metric]["max_value"] }} (top/right).
Scatterplot axis ranges are {{ d["scaled_metrics"][metric]["min_value"] }} (bottom/left) to {{ d["scaled_metrics"][metric]["max_value"] }} (top/right).
{% endif -%}
| Benchmark | {% for variant in d["variants"][metric] %} {{ variant }} |{% endfor %}
Expand Down
6 changes: 1 addition & 5 deletions tools/benchcomp/test/test_regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,6 @@ def test_markdown_results_table(self):
run_bc()

self.assertEqual(run_bc.proc.returncode, 0, msg=run_bc.stderr)
self.maxDiff = None
self.assertEqual(
run_bc.stdout, textwrap.dedent("""
## runtime
Expand All @@ -476,10 +475,7 @@ def test_markdown_results_table(self):
"bench_1": [0.0, 0.909]
"bench_2": [0.909, 0.0]
```
Scatterplot axis ranges are
5 (bottom/left) to
10 (top/right).
Scatterplot axis ranges are 5 (bottom/left) to 10 (top/right).
| Benchmark | variant_1 | variant_2 | ratio |
| --- | --- | --- | --- |
Expand Down

0 comments on commit 82f23fc

Please sign in to comment.