To protect your data, the CISO officer has suggested users to enable GitLab 2FA as soon as possible.

Commit 50d9a38c authored by John Zhang's avatar John Zhang
Browse files

Merge branch 'master' of gitlab.anu.edu.au:mu/mu-perf-benchmarks

parents 6f7a306b cd869a1f
......@@ -55,13 +55,13 @@ class LogOutputPipeline(Pipeline):
trend = "It's statistically significantly " + \
crayons.red("lower") + " using one-sided t-test"
elif increased:
trend = "it's statistically significantly " + \
trend = "It's statistically significantly " + \
crayons.red("higher") + " using one-sided t-test"
elif changed:
trend = "there's statistically significant " + \
trend = "There's statistically significant " + \
"difference using two-sided t-test"
else:
trend = "there's no statistically significant difference"
trend = "There's no statistically significant difference"
template = "{} is {} than {}, using {} of time\n\t{}"
return template.format(crayons.blue(r1.name),
......
......@@ -115,7 +115,7 @@ class TaskSet:
task_print(task_name,
crayons.red('parsing configuration failed.'))
logger.critical(crayons.red(str(e)))
# ts.tasks.append(Task(ts, task_name, **task_conf))
# ts.tasks.append(Task(ts, task_name, **task_conf))
return ts
......@@ -143,7 +143,7 @@ class TaskSet:
'error output written to %s.' % errlog_file))
# run
data = {t: [] for t in targets} # only run tasks that have a target
data = {t: [] for t in targets} # only run tasks that have a target
# Generating record
for i in range(self.iterations):
......@@ -253,7 +253,11 @@ class Task:
# but rather the Result should be *about* a TaskSet
def add_datapoint(self, stdout, stderr, t_proc):
if self.callback['name'] == 'clock':
dp = float(stdout.split()[-1])
try:
dp = float(stdout.split()[-1])
except:
raise RuntimeError(
"Cannot extract duration from last line of stdout")
else:
msg = "'%(name)s' callback output processing not implemented" % self.callback
raise NotImplementedError(msg)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment