Created
April 4, 2022 14:50
-
-
Save gatemezing/c66165f3a243e012e10552f22f1f2bba to your computer and use it in GitHub Desktop.
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
#datasets: | |
# - name: "DatasetName" | |
#optional, will just be set in the pre & post script hooks by using {{dataset.file}} | |
# file: "src/test/resources/dataset.txt" | |
connections: | |
- name: "neptune" | |
endpoint: "https://my-endpoint2/sparql" | |
- name: "neptune10b" | |
endpoint: "https://my-endpoint2/sparql" | |
# - name: "Blazegraph" | |
#endpoint: "http://localhost:9999/blazegraph/sparql" | |
#- name: "Fuseki" | |
#user: "test" | |
#endpoint: "http://127.0.0.1:3030/ds/sparql" | |
#updateEndpoint: "http://localhost:3030/ds/update" | |
tasks: | |
- className: "Stresstest" | |
configuration: | |
# 2h queries (time Limit is in ms) | |
timeLimit: 7200000 | |
# warmup is optional | |
warmup: | |
# 2 minutes (is in ms) | |
timeLimit: 120000 | |
queryHandler: | |
className: "InstancesQueryHandler" | |
# queryHandler could be set too, same as in the stresstest configuration, otherwise the same queryHandler will be use. | |
# workers are set the same way as in the configuration part | |
workers: | |
- threads: 1 | |
className: "SPARQLWorker" | |
queriesFile: "queries_cat1.txt" | |
timeOut: 60000 | |
queryHandler: | |
className: "InstancesQueryHandler" | |
workers: | |
- threads: 5 | |
className: "SPARQLWorker" | |
queriesFile: "queries_cat1.txt" | |
timeOut: 60000 | |
- threads: 10 | |
className: "SPARQLWorker" | |
queriesFile: "queries_cat1.txt" | |
fixedLatency: 100 | |
gaussianLatency: 50 | |
parameterName: "query" | |
responseType: "application/sparql-results+json" | |
# both are optional and can be used to load and start as well as stop the connection before and after every task | |
#preScriptHook: "./triplestores/{{connection}}/start.sh {{dataset.file}} {{dataset.name}} {{taskID}}" | |
#postScriptHook: "./triplestores/{{connection}}/stop.sh" | |
#optional otherwise the same metrics will be used as default | |
metrics: | |
- className: "QMPH" | |
- className: "QPS" | |
- className: "NoQPH" | |
- className: "AvgQPS" | |
- className: "NoQ" | |
#optional otherwise an nt file will be used | |
storages: | |
- className: "NTFileStorage" | |
#configuration: | |
# fileName: "Bench_stress_Neptune.nt" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment