Skip to content

Commit

Permalink
test mongo
Browse files Browse the repository at this point in the history
  • Loading branch information
DawidNiezgodka committed Dec 26, 2023
1 parent 6ab0288 commit 65bc5ac
Show file tree
Hide file tree
Showing 6 changed files with 90 additions and 32 deletions.
3 changes: 2 additions & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 36 additions & 8 deletions resultsFolder/result_wg-medium1.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,39 @@
{
"benchInfo": {
"parametrization": {
"storageEngine": "N/A",
"logVerbosity": "N/A",
"bindIp": "0.0.0.0",
"port": 27017
},
"otherInfo": ""
"benchInfo": {
"executionTime": "0m 11s",
"otherInfo": "YCSB Parameters: workload=workloada, recordcount=200000, threads=32, ",
"parametrization": {
"storageEngine": "N/A",
"logVerbosity": "N/A",
"bindIp": "0.0.0.0",
"port": 27017
}
},
"results": [
{
"unit": "ops/sec",
"value": 16747.613465081227,
"name": "OVERALL Throughput"
},
{
"unit": "us",
"value": 1825.4436406295827,
"name": "[READ], AverageLatency(us)"
},
{
"unit": "us",
"value": 87807.0,
"name": "[READ], MaxLatency(us)"
},
{
"unit": "us",
"value": 1871.9681377399565,
"name": "[UPDATE], AverageLatency(us)"
},
{
"unit": "us",
"value": 151423.0,
"name": "[UPDATE], MaxLatency(us)"
}
]
}
44 changes: 36 additions & 8 deletions resultsFolder/result_wg-medium2.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,39 @@
{
"benchInfo": {
"parametrization": {
"storageEngine": "N/A",
"logVerbosity": "N/A",
"bindIp": "0.0.0.0",
"port": 27017
},
"otherInfo": ""
"benchInfo": {
"executionTime": "0m 11s",
"otherInfo": "YCSB Parameters: workload=workloada, recordcount=200000, threads=32, ",
"parametrization": {
"storageEngine": "N/A",
"logVerbosity": "N/A",
"bindIp": "0.0.0.0",
"port": 27017
}
},
"results": [
{
"unit": "ops/sec",
"value": 16884.761502743775,
"name": "OVERALL Throughput"
},
{
"unit": "us",
"value": 1765.6541831135073,
"name": "[READ], AverageLatency(us)"
},
{
"unit": "us",
"value": 65407.0,
"name": "[READ], MaxLatency(us)"
},
{
"unit": "us",
"value": 1866.0130910511919,
"name": "[UPDATE], AverageLatency(us)"
},
{
"unit": "us",
"value": 156159.0,
"name": "[UPDATE], MaxLatency(us)"
}
]
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"benchInfo": {
"executionTime": "0m 7s",
"otherInfo": "YCSB Parameters: workload=workloada, recordcount=100000, threads=16, ",
"executionTime": "0m 11s",
"otherInfo": "YCSB Parameters: workload=workloada, recordcount=200000, threads=32, ",
"parametrization": {
"storageEngine": "N/A",
"logVerbosity": "N/A",
Expand All @@ -12,27 +12,27 @@
"results": [
{
"unit": "ops/sec",
"value": 12623.074981065387,
"value": 16770.08217340265,
"name": "OVERALL Throughput"
},
{
"unit": "us",
"value": 1215.7905759162304,
"value": 1817.7090485888857,
"name": "[READ], AverageLatency(us)"
},
{
"unit": "us",
"value": 76095.0,
"value": 158847.0,
"name": "[READ], MaxLatency(us)"
},
{
"unit": "us",
"value": 1177.0696104246845,
"value": 1861.29883843717,
"name": "[UPDATE], AverageLatency(us)"
},
{
"unit": "us",
"value": 92095.0,
"value": 155135.0,
"name": "[UPDATE], MaxLatency(us)"
}
]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"benchInfo": {
"executionTime": "0m 10s",
"otherInfo": "YCSB Parameters: workload=workloada, recordcount=100000, threads=16, ",
"executionTime": "0m 11s",
"otherInfo": "YCSB Parameters: workload=workloada, recordcount=200000, threads=32, ",
"parametrization": {
"storageEngine": "N/A",
"logVerbosity": "N/A",
Expand All @@ -12,27 +12,27 @@
"results": [
{
"unit": "ops/sec",
"value": 9187.798603454612,
"value": 16810.960746406658,
"name": "OVERALL Throughput"
},
{
"unit": "us",
"value": 1653.7729062395729,
"value": 1834.0088426016898,
"name": "[READ], AverageLatency(us)"
},
{
"unit": "us",
"value": 137343.0,
"value": 159487.0,
"name": "[READ], MaxLatency(us)"
},
{
"unit": "us",
"value": 1569.4936623516721,
"value": 1814.1897455816663,
"name": "[UPDATE], AverageLatency(us)"
},
{
"unit": "us",
"value": 133247.0,
"value": 51807.0,
"name": "[UPDATE], MaxLatency(us)"
}
]
Expand Down
3 changes: 2 additions & 1 deletion src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@ module.exports.validateAndFetchEvaluationConfig = function (currentResultLength,
}

module.exports.createEvaluationConfig = function (...inputNames) {
core.debug(`--- start createEvaluationConfig ---`)
const validInputs = [
"evaluationMethod",
"benchmarkGroupToCompare",
Expand Down Expand Up @@ -365,7 +366,7 @@ module.exports.createEvaluationConfig = function (...inputNames) {
}
return null
})

core.debug(`--- end createEvaluationConfig ---`)
return new EvaluationConfig(...configValues)
}

Expand Down

0 comments on commit 65bc5ac

Please sign in to comment.