-
-
Save sckevmit/79b85447460ade85a0741fe07d647c50 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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