Commit ae417e7a authored by Lukas Werner's avatar Lukas Werner
Browse files

Update benchmark.py for i10web

parent 5168c244
Pipeline #345478 failed with stages
in 1 second
......@@ -63,7 +63,6 @@ class MeasureMESAPD:
{
'measurement': 'run_time',
'tags': {
'host': os.uname()[1],
'benchmark': 'MESA_PD_KernelBenchmark'
},
'fields': {
......@@ -98,7 +97,6 @@ class MeasureMESAPD:
{
'measurement': 'run_time',
'tags': {
'host': os.uname()[1],
'benchmark': 'MESA_PD_GranularGas'
},
'fields': {
......@@ -142,13 +140,14 @@ def main():
for measurement in json_body:
measurement['time'] = point_time
measurement['fields']['commit'] = commit.hexsha
measurement['fields']['num_cores'] = numCores
measurement['fields']['num_cores'] = int(numCores)
measurement['tags']['host'] = os.uname()[1]
#print(json_body)
# upload to influx db
client = InfluxDBClient('i10grafana.informatik.uni-erlangen.de', 8086,
'benchmark', write_user_pw, 'benchmark')
client = InfluxDBClient('i10web.informatik.uni-erlangen.de', 8086,
'benchmarks', write_user_pw, 'benchmarks')
client.write_points(json_body, time_precision='s')
......
Supports Markdown
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