-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #113 from synergylabs/python3
- Loading branch information
Showing
196 changed files
with
47,568 additions
and
35,799 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
{ | ||
"uri":{ | ||
"cs":"https://localhost:81", | ||
"ds":"https://localhost:82" | ||
}, | ||
"credentials":{ | ||
"clientId" : "", | ||
"clientSecret" : "" | ||
}, | ||
"defaults":{ | ||
"oauth":true, | ||
"connections":1, | ||
"amount":1 | ||
}, | ||
"testSuite":"./testSuites/post-time-series.json", | ||
"headers":{ | ||
"content-type":"application/json" | ||
} | ||
"uri": { | ||
"cs": "https://localhost:81", | ||
"ds": "https://localhost:82" | ||
}, | ||
"credentials": { | ||
"clientId": "", | ||
"clientSecret": "" | ||
}, | ||
"defaults": { | ||
"oauth": true, | ||
"connections": 1, | ||
"amount": 1 | ||
}, | ||
"testSuite": "./testSuites/post-time-series.json", | ||
"headers": { | ||
"content-type": "application/json" | ||
} | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,23 @@ | ||
from __future__ import print_function | ||
from os import listdir | ||
import json | ||
for f in listdir('.'): | ||
if f == 'parse.py': | ||
continue | ||
with open('./'+f) as d: | ||
try: | ||
data = json.load(d) | ||
print(data['title'] , data['requests']['total'] , data['requests']['average'] , data['latency']['p99'] , data['throughput']['total'] , data['throughput']['average'] , data['connections'] , data['duration'] , data['non2xx'], sep='\t') | ||
except Exception as e: | ||
pass | ||
from os import listdir | ||
|
||
for f in listdir("."): | ||
if f == "parse.py": | ||
continue | ||
with open("./" + f) as d: | ||
try: | ||
data = json.load(d) | ||
print( | ||
data["title"], | ||
data["requests"]["total"], | ||
data["requests"]["average"], | ||
data["latency"]["p99"], | ||
data["throughput"]["total"], | ||
data["throughput"]["average"], | ||
data["connections"], | ||
data["duration"], | ||
data["non2xx"], | ||
sep="\t", | ||
) | ||
except Exception as e: | ||
pass |
This file contains 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
2,003 changes: 2,002 additions & 1 deletion
2,003
benchmarking-tools/BD-Performance-Test/sensors.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,28 @@ | ||
{ "title":"Different number of sensors:", | ||
"defaults": { | ||
"test": "post time-series data" | ||
}, | ||
"tests": [ | ||
{ | ||
"title": "Post Time-series : 1000 sensors", | ||
"formData": { | ||
"saveFile": "log.json", | ||
"totalSensors": 1000, | ||
"totalSamples": 1, | ||
"totalValues": 1, | ||
"dynamic": true | ||
} | ||
}, | ||
{ | ||
"title": "Post Time-series : 1000 sensors", | ||
"formData": { | ||
"saveFile": "log.json", | ||
"totalSensors": 1000, | ||
"totalSamples": 1, | ||
"totalValues": 1, | ||
"dynamic": false | ||
} | ||
}] | ||
{ | ||
"title": "Different number of sensors:", | ||
"defaults": { | ||
"test": "post time-series data" | ||
}, | ||
"tests": [ | ||
{ | ||
"title": "Post Time-series : 1000 sensors", | ||
"formData": { | ||
"saveFile": "log.json", | ||
"totalSensors": 1000, | ||
"totalSamples": 1, | ||
"totalValues": 1, | ||
"dynamic": true | ||
} | ||
}, | ||
{ | ||
"title": "Post Time-series : 1000 sensors", | ||
"formData": { | ||
"saveFile": "log.json", | ||
"totalSensors": 1000, | ||
"totalSamples": 1, | ||
"totalValues": 1, | ||
"dynamic": false | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.