Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# Parse results
result = StringIO.StringIO('\n'.join(stdout.split('\n')[1:]))
creader = csv.reader(result)
report = []
for row in creader:
if len(row) >= 1 :
report.append(["single-{}".format(row[1]),row[2]])
report.append(["aggregate-{}".format(row[1]),row[3]])
print report
self.add_output(
additive={"title": "PBench UPerf Stats",
"description": "PBench UPerf Scenario",
"chart_plugin": "StatsTable",
"data": report})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.