Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Commit

Permalink
Bug 1426682 - Remove tcanvasmark from talos; r=jmaher
Browse files Browse the repository at this point in the history
MozReview-Commit-ID: De1WBDevFay
  • Loading branch information
Rob Wood committed Jan 18, 2018
1 parent ed1b773 commit b9e8013
Show file tree
Hide file tree
Showing 26 changed files with 2 additions and 6,940 deletions.
3 changes: 0 additions & 3 deletions testing/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ with Files("talos/talos/tests/kraken/**"):
with Files("talos/talos/tests/a11y/**"):
BUG_COMPONENT = ("Core", "Disability Access APIs")

with Files("talos/talos/tests/canvasmark/**"):
BUG_COMPONENT = ("Core", "Canvas: 2D")

with Files("talos/talos/tests/webgl/**"):
BUG_COMPONENT = ("Core", "Canvas: WebGL")

Expand Down
4 changes: 2 additions & 2 deletions testing/talos/talos.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"suites": {
"chromez-e10s": {
"tests": ["tresize", "tcanvasmark"]
"tests": ["tresize"]
},
"chromez-stylo-disabled-e10s": {
"talos_options": ["--disable-stylo"],
"tests": ["tresize", "tcanvasmark"]
"tests": ["tresize"]
},
"dromaeojs-e10s": {
"tests": ["dromaeo_css", "kraken"]
Expand Down
9 changes: 0 additions & 9 deletions testing/talos/talos/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,22 +255,13 @@ def speedometer_score(cls, val_list):
score = 60 * 1000 / filter.geometric_mean(results) / correctionFactor
return score

@classmethod
def CanvasMark_Metric(cls, val_list):
"""CanvasMark benchmark score (NOTE: this is identical to JS_Metric)"""
results = [i for i, j in val_list]
LOG.info("CanvasMark benchmark")
return sum(results)

def construct_results(self, vals, testname):
if 'responsiveness' in testname:
return filter.responsiveness_Metric([val for (val, page) in vals])
elif testname.startswith('v8_7'):
return self.v8_Metric(vals)
elif testname.startswith('kraken'):
return self.JS_Metric(vals)
elif testname.startswith('tcanvasmark'):
return self.CanvasMark_Metric(vals)
elif testname.startswith('speedometer'):
return self.speedometer_score(vals)
elif len(vals) > 1:
Expand Down
19 changes: 0 additions & 19 deletions testing/talos/talos/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -659,25 +659,6 @@ class basic_compositor_video(PageloaderTest):
lower_is_better = True


@register_test()
class tcanvasmark(PageloaderTest):
"""
CanvasMark benchmark v0.6
"""
tpmanifest = '${talos}/tests/canvasmark/canvasmark.manifest'
win_counters = w7_counters = linux_counters = mac_counters = None
tpcycles = 5
tppagecycles = 1
timeout = 900
gecko_profile_interval = 10
gecko_profile_entries = 2500000
tpmozafterpaint = False
preferences = {'dom.send_after_paint_to_content': False}
filters = filter.ignore_first.prepare(1) + filter.median.prepare()
unit = 'score'
lower_is_better = False


class dromaeo(PageloaderTest):
"""abstract base class for dramaeo tests"""
filters = filter.dromaeo.prepare()
Expand Down
Binary file not shown.
Binary file not shown.
3 changes: 0 additions & 3 deletions testing/talos/talos/tests/canvasmark/canvasmark.manifest

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
208 changes: 0 additions & 208 deletions testing/talos/talos/tests/canvasmark/index.html

This file was deleted.

27 changes: 0 additions & 27 deletions testing/talos/talos/tests/canvasmark/license.txt

This file was deleted.

Binary file not shown.
Loading

0 comments on commit b9e8013

Please sign in to comment.