-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.conf
executable file
·64 lines (53 loc) · 1.2 KB
/
example.conf
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
setup_t module_setup = setup_module_t {
dir = "/usr/lib/phantom"
list = {
io_benchmark
io_benchmark_method_stream
io_benchmark_method_stream_ipv4
io_benchmark_method_stream_source_random
io_benchmark_method_stream_proto_http
io_monitor
}
}
setup_t module_setup = setup_module_t {
dir = "lib/phantom"
list = {
taurus_source
}
}
scheduler_t main_scheduler = scheduler_simple_t {
threads = 4
}
io_t benchmark_io = io_benchmark_t {
method_t stream_method = method_stream_ipv4_t {
source_t taurus_source = taurus_source_t {
ammo = "ammo.stpd"
schedule = "schedule.sch"
}
proto_t http_proto = proto_http_t { }
address = 127.0.0.1
port = 8080
timeout = 5s
source = taurus_source
proto = http_proto
logger_t default_logger = logger_default_t {
filename = "benchmark-default.log"
level = proto_warning
scheduler = main_scheduler
}
logger_t brief_logger = logger_brief_t {
filename = "benchmark-brief.log"
scheduler = main_scheduler
}
loggers = { default_logger brief_logger }
}
times_t simple_times = times_simple_t {
max = 3s
min = 10
steps = 20
}
instances = 1
method = stream_method
times = simple_times
scheduler = main_scheduler
}