This repository has been archived by the owner on Mar 22, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
benchmarks.conf
194 lines (177 loc) · 6.85 KB
/
benchmarks.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
# -*- mode: yaml -*-
# Config file for ReBench
standard_experiment: all
standard_data_file: 'zero-overhead.data'
# settings and requirements for statistic evaluation
# Note, this is only used for explorative runs, for the final experiments, we
# rely soley on a fixed configuration of data points.
statistics:
confidence_level: 0.95
runs:
# Fixed minimum number of data points. Typically, the benchmarks are
# configure to produce a specific number of datapoints independently of
# this setting. ReBench will repeat the benchmarks until it got at least
# this many data points.
number_of_data_points: 3
# settings for quick runs, useful for fast feedback during experiments
quick_runs:
number_of_data_points: 3
max_time: 60 # time in seconds
# definition of benchmark suites
benchmark_suites:
# Marcobenchmarks to be executed on one of the SOM implementations
macro-steady:
gauge_adapter: RebenchLog
command: &MACRO_COMMAND " -cp Smalltalk::Smalltalk/Mate/:Smalltalk/Mate/MOP:Examples/Benchmarks/Richards:Examples/Benchmarks/DeltaBlue:Examples/Benchmarks/NBody Examples/Benchmarks/BenchmarkHarness.som %(benchmark)s "
max_runtime: 60000
benchmarks: &MACRO_STEADY
- Richards:
extra_args: "10 20 10"
# - DeltaBlue:
# extra_args: "1 0 1"
# - Mandelbrot:
# extra_args: "1 0 1"
# - NBody:
# extra_args: "1 0 1"
# Microbenchmarks to be executed on one of the SOM implementations
micro-steady:
gauge_adapter: RebenchLog
command: " -cp Smalltalk:Smalltalk/Mate/:Smalltalk/Mate/MOP:Examples/Benchmarks/LanguageFeatures Examples/Benchmarks/BenchmarkHarness.som %(benchmark)s "
max_runtime: 60000
benchmarks: &MICRO_STEADY
- Bounce:
extra_args: "1 0 1"
- BubbleSort:
extra_args: "1 0 1"
- Dispatch:
extra_args: "1 0 1"
- Fannkuch:
extra_args: "1 0 1"
- Fibonacci:
extra_args: "1 0 1"
- FieldLoop:
extra_args: "1 0 1"
- IntegerLoop:
extra_args: "1 0 1"
- List:
extra_args: "1 0 1"
- Loop:
extra_args: "1 0 1"
- Permute:
extra_args: "1 0 1"
- Queens:
extra_args: "1 0 1"
- QuickSort:
extra_args: "1 0 1"
- Recurse:
extra_args: "1 0 1"
- Sieve:
extra_args: "1 0 1"
- Storage:
extra_args: "1 0 1"
- Sum:
extra_args: "1 0 1"
- Towers:
extra_args: "1 0 1"
- TreeSort:
extra_args: "1 0 1"
- WhileLoop:
extra_args: "1 0 1"
# Configuration of the Macrobenchmarks for SOM to be executed in the
# context of the OMOP, or without it.
# The results are shown in the paper in Figure 5.
macro-steady-omop:
gauge_adapter: RebenchLog
command: " -cp Smalltalk:Examples/Benchmarks/Richards:Examples/Benchmarks/DeltaBlue:Examples/Benchmarks/NBody Examples/Benchmarks/OmopHarness.som %(benchmark)s %(variable)s "
max_runtime: 60000
benchmarks: *MACRO_STEADY
variable_values:
- "true"
- "false"
# Configuration of the SOM Reflection microbenchmarks
# The results are shown in the paper in Figure 7.
reflection:
gauge_adapter: RebenchLog
command: " -cp Smalltalk:Examples/Benchmarks/DoesNotUnderstand Examples/Benchmarks/BenchmarkHarness.som %(benchmark)s "
max_runtime: 60000
benchmarks:
- DirectAdd:
extra_args: 150 0 8000
- DnuAdd:
extra_args: 150 0 8000
- DnuPerformAdd:
extra_args: 150 0 8000
- PerformAdd:
extra_args: 150 0 8000
# Configuration of the SOM Proxy microbenchmarks
# The results are shown in the paper in Figure 7.
proxy:
gauge_adapter: RebenchLog
command: " -cp Smalltalk:Examples/Benchmarks/DoesNotUnderstand Examples/Benchmarks/BenchmarkHarness.som %(benchmark)s "
max_runtime: 60000
benchmarks:
- ProxyAdd:
extra_args: 350 0 8000
- IndirectAdd:
extra_args: 350 0 8000
# Configuration of the SOM Mate microbenchmarks
mop-individual-activation:
gauge_adapter: RebenchLog
command: " -cp Smalltalk:Smalltalk/Mate/:Smalltalk/Mate/MOP:Examples/Benchmarks/Mate Examples/Benchmarks/BenchmarkHarness.som %(benchmark)s "
max_runtime: 60000
benchmarks:
- FieldRead:
extra_args: 50 700 500
- FieldWrite:
extra_args: 50 700 500
- MessageSend:
extra_args: 50 700 500
- VMReflectiveFieldRead:
extra_args: 50 700 500
- VMReflectiveFieldWrite:
extra_args: 50 700 500
- VMReflectiveMethodActivation:
extra_args: 50 700 500
- VMReflectiveMessageSend:
extra_args: 50 700 500
# VMs have a name and are specified by a path and the binary to be executed.
virtual_machines:
# The configuration for TruffleSOM with and without the OMOP.
# TruffleSOM is referred to as SOM_PE in the paper.
# The different settings of Graal are used to see the impact of their
# optimization settings, which have been changing in the time frame of these
# experiments.
TruffleMate-graal:
path: .
binary: som
# args: " -G:+TruffleSplittingNew -G:-TraceTruffleInlining -G:+TraceTruffleCompilation"
args: "--mate"
TruffleSOM-graal:
path: .
binary: som
#args: " -G:+TruffleSplittingNew -G:-TraceTruffleInlining -G:+TraceTruffleCompilation"
args: ""
TruffleMate-interpreter:
path: .
binary: som
args: " -G:+TruffleSplittingNew -G:-TraceTruffleInlining -G:+TraceTruffleCompilation"
args: "-G --mate"
# define the benchmarks to be executed for a re-executable benchmark run
experiments:
# The results of this experiment are shown in the paper in Figure 5.
Mate-Standard:
actions: benchmark
benchmark:
- macro-steady
# - micro-steady
executions:
- TruffleMate-graal
- TruffleSOM-graal
- TruffleMate-interpreter
# The results of this experiment are shown in the paper in ...
MOP-Operations:
actions: benchmark
benchmark:
- mop-individual-activation
executions:
- TruffleMate-graal