forked from dice-group/IGUANA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example-suite.yml
68 lines (64 loc) · 2.2 KB
/
example-suite.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
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: "Virtuoso7"
user: "dba"
password: "dba"
endpoint: "http://localhost:8890/sparql"
- name: "Virtuoso6"
user: "dba"
password: "dba"
endpoint: "http://localhost:8891/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: "org.aksw.iguana.cc.tasks.impl.Stresstest"
configuration:
# 1 hour (time Limit is in ms)
timeLimit: 360000
# warmup is optional
warmup:
# 1 minutes (is in ms)
timeLimit: 600000
# 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_warmup.txt"
timeOut: 180000
queryHandler:
className: "InstancesQueryHandler"
workers:
- threads: 16
className: "SPARQLWorker"
queriesFile: "queries_easy.txt"
timeOut: 180000
- threads: 4
className: "SPARQLWorker"
queriesFile: "queries_complex.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: YOUR_RESULT_FILE_NAME.nt