summaryrefslogtreecommitdiff
path: root/testsuite/driver/testglobals.py
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-01-31 19:47:53 -0500
committerBen Gamari <ben@smart-cactus.org>2019-01-31 19:47:53 -0500
commitebe2d344899e2165182d3c41b0796ec022561790 (patch)
tree0771fe65262a7bbb7a465f1b9e9bb50b91649f29 /testsuite/driver/testglobals.py
parent21462a3a4edede710582b8038695667d2b9d0159 (diff)
downloadhaskell-ebe2d344899e2165182d3c41b0796ec022561790.tar.gz
Revert "Performance tests: recover a baseline from ancestor commits and CI results."
Unfortunately this has broken all future commits due to spurious(?) performance changes which I have been unable to work around. This reverts commit cc2261d42f6a954d88e355aaad41f001f65c95da.
Diffstat (limited to 'testsuite/driver/testglobals.py')
-rw-r--r--testsuite/driver/testglobals.py12
1 files changed, 3 insertions, 9 deletions
diff --git a/testsuite/driver/testglobals.py b/testsuite/driver/testglobals.py
index 423925e87e..0e0240db8e 100644
--- a/testsuite/driver/testglobals.py
+++ b/testsuite/driver/testglobals.py
@@ -235,17 +235,11 @@ class TestOptions:
# extra files to copy to the testdir
self.extra_files = []
- # Map from metric to (fuction from way to baseline value, allowed percentage deviation) e.g.
- # { 'bytes allocated': (
- # lambda way: if way1: return None ... elif way2:return 9300000000 ...,
- # 10) }
- # This means no baseline is available for way1. For way 2, allow a 10%
- # deviation from 9300000000.
+ # Map from metric to expectected value and allowed percentage deviation. e.g.
+ # { 'bytes allocated': (9300000000, 10) }
+ # To allow a 10% deviation from 9300000000 for the 'bytes allocated' metric.
self.stats_range_fields = {}
- # Is the test testing performance?
- self.is_stats_test = False
-
# Does this test the compiler's performance as opposed to the generated code.
self.is_compiler_stats_test = False