summaryrefslogtreecommitdiffstats
path: root/qtip/runner/perftest.py
diff options
context:
space:
mode:
Diffstat (limited to 'qtip/runner/perftest.py')
-rw-r--r--qtip/runner/perftest.py20
1 files changed, 6 insertions, 14 deletions
diff --git a/qtip/runner/perftest.py b/qtip/runner/perftest.py
index 835f2a81..c6d58397 100644
--- a/qtip/runner/perftest.py
+++ b/qtip/runner/perftest.py
@@ -7,21 +7,13 @@
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
+from os import path
-class PerfTest:
- """A perf test collects raw performance metrics by running test tools"""
+from benchmark import Benchmark
- def __init__(self):
- pass
- @staticmethod
- def list_all():
- """list all available perf tests"""
- pass
+class PerfTest(Benchmark):
+ """PerfTest is the driver of external performance test tools"""
- def desc(self):
- """description of the perf test"""
- pass
-
- def run(self):
- pass
+ # paths to search for perftest
+ _paths = [path.join(p, 'perftest') for p in Benchmark._paths]