This file is indexed.

/usr/share/plainbox-provider-checkbox/jobs/benchmarks.txt.in is in plainbox-provider-checkbox 0.25-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
plugin: local
_summary: Benchmark for each disk
id: benchmarks/disk/hdparm-read
requires: device.category == 'DISK'
estimated_duration: 1.0
_description: Raw read timing benchmark of each disk using hdparm.
command:
 cat <<'EOF' | run_templates -t -s 'udev_resource | filter_templates -w "category=DISK"'
 plugin: shell
 category_id: 2013.com.canonical.plainbox::benchmarks
 id: benchmarks/disk/hdparm-read_`ls /sys$path/block`
 estimated_duration: 15.0
 requires: device.path == "$path"
 user: root
 command: hdparm -t /dev/`ls /sys$path/block | sed 's|!|/|'` | sed -e :a -e '$!N;s/\n/ /;ta' | sed 's/.*= *//'
 description: This test runs hdparm timing of device reads as a benchmark for $path
 EOF

plugin: local
_summary: Benchmark for each disk
id: benchmarks/disk/hdparm-cache-read
estimated_duration: 1.0
requires: device.category == 'DISK'
_description: Cached read timing benchmark of each disk using hdparm.
command:
 cat <<'EOF' | run_templates -t -s 'udev_resource | filter_templates -w "category=DISK"'
 plugin: shell
 category_id: 2013.com.canonical.plainbox::benchmarks
 id: benchmarks/disk/hdparm-cache-read_`ls /sys$path/block`
 estimated_duration: 10.0
 requires: device.path == "$path"
 user: root
 command: hdparm -T /dev/`ls /sys$path/block | sed 's|!|/|'` | sed -e :a -e '$!N;s/\n/ /;ta' | sed 's/.*= *//'
 description: This test runs hdparm timing of cache reads as a benchmark for $path
 EOF

plugin: shell
category_id: 2013.com.canonical.plainbox::benchmarks
id: benchmarks/graphics/gtkperf
depends: graphics/xorg-version
requires: package.name == 'gtkperf'
command: python3 -c 'import re,sys,subprocess; (s, o) = subprocess.getstatusoutput("gtkperf -a"); [sys.exit(1) for i in [s] if s]; m = re.search("Total time:\s+(.*)\n", o); [print(i.group(1)+" Seconds") for i in [m] if m]'
estimated_duration: 30.000
_description:
 Run gtkperf to make sure that GTK based test cases work

plugin: shell
category_id: 2013.com.canonical.plainbox::benchmarks
id: benchmarks/graphics/render-bench
requires: package.name == 'render-bench'
command: /usr/bin/time -f "%e Seconds" render_bench 2>&1 >/dev/null
estimated_duration: 52.000
_description: Run Render-Bench XRender/Imlib2 benchmark

plugin: shell
category_id: 2013.com.canonical.plainbox::benchmarks
id: benchmarks/graphics/qgears2-Xrender-gearsfancy
requires: package.name == 'phoronix-test-suite'
command: PRESET_OPTIONS="qgears2.render-backend=1; qgears2.test-mode=0" pts_run qgears2
estimated_duration: 180.000
_description: Run Qgears2 XRender Extension gearsfancy benchmark

plugin: shell
category_id: 2013.com.canonical.plainbox::benchmarks
id: benchmarks/graphics/qgears2-Xrender-compo
requires: package.name == 'phoronix-test-suite'
command: PRESET_OPTIONS="qgears2.render-backend=1; qgears2.test-mode=2" pts_run qgears2
estimated_duration: 31.500
_description: Run Qgears2 XRender Extension image scaling benchmark

plugin: shell
category_id: 2013.com.canonical.plainbox::benchmarks
id: benchmarks/graphics/qgears2-gl-gearsfancy
requires: package.name == 'phoronix-test-suite'
command: PRESET_OPTIONS="qgears2.render-backend=2; qgears2.test-mode=0" pts_run qgears2
estimated_duration: 52.000
_description: Run Qgears2 OpenGL gearsfancy benchmark

plugin: shell
category_id: 2013.com.canonical.plainbox::benchmarks
id: benchmarks/graphics/qgears2-gl-compo
requires: package.name == 'phoronix-test-suite'
command: PRESET_OPTIONS="qgears2.render-backend=2; qgears2.test-mode=2" pts_run qgears2
estimated_duration: 23.000
_description: Run Qgears2 OpenGL image scaling benchmark

plugin: shell
category_id: 2013.com.canonical.plainbox::benchmarks
id: benchmarks/graphics/glmark2-es2
requires:
 package.name == 'glmark2-es2'
 'arm' in cpuinfo.type
command:
 glmark2-es2 2>&1 | sed -e :a -e '$!N;s/\n/ /;ta' | sed -E 's/.*(Score:\s+[0-9]+).*/\1/'
_description: Run GLmark2-ES2 benchmark

plugin: shell
category_id: 2013.com.canonical.plainbox::benchmarks
id: benchmarks/graphics/glmark2
requires:
 package.name == 'glmark2'
 cpuinfo.platform in ("i386", "x86_64")
command:
 glmark2 2>&1 | sed -e :a -e '$!N;s/\n/ /;ta' | sed -E 's/.*(Score:\s+[0-9]+).*/\1/'
estimated_duration: 306.000
_description: Run GLmark2 benchmark

plugin: shell
category_id: 2013.com.canonical.plainbox::benchmarks
id: benchmarks/graphics/unigine-sanctuary
requires: package.name == 'phoronix-test-suite'
command: pts_run unigine-sanctuary
_description: Run Unigine Santuary benchmark

plugin: shell
category_id: 2013.com.canonical.plainbox::benchmarks
id: benchmarks/graphics/unigine-tropics
requires: package.name == 'phoronix-test-suite'
command: pts_run unigine-tropics
_description: Run Unigine Tropics benchmark

plugin: shell
category_id: 2013.com.canonical.plainbox::benchmarks
id: benchmarks/graphics/unigine-heaven
requires: package.name == 'phoronix-test-suite'
command: pts_run unigine-heaven
_description: Run Unigine Heaven benchmark

plugin: shell
category_id: 2013.com.canonical.plainbox::benchmarks
id: benchmarks/graphics/lightsmark
requires: package.name == 'phoronix-test-suite'
command: pts_run lightsmark
_description: Run Lightsmark benchmark

plugin: shell
category_id: 2013.com.canonical.plainbox::benchmarks
id: benchmarks/memory/cachebench-read
estimated_duration: 160.0
requires: package.name == 'phoronix-test-suite'
command: PRESET_OPTIONS="cachebench.test=0" pts_run cachebench
_description: Run Cachebench Read benchmark

plugin: shell
category_id: 2013.com.canonical.plainbox::benchmarks
id: benchmarks/memory/cachebench-write
estimated_duration: 130.0
requires: package.name == 'phoronix-test-suite'
command: PRESET_OPTIONS="cachebench.test=1" pts_run cachebench
_description: Run Cachebench Write benchmark

plugin: shell
category_id: 2013.com.canonical.plainbox::benchmarks
id: benchmarks/memory/cachebench-read-modify-write
estimated_duration: 140.0
requires: package.name == 'phoronix-test-suite'
command: PRESET_OPTIONS="cachebench.test=2" pts_run cachebench
_description: Run Cachebench Read / Modify / Write benchmark

plugin: shell
category_id: 2013.com.canonical.plainbox::benchmarks
id: benchmarks/memory/stream-copy
estimated_duration: 6.0
requires: package.name == 'phoronix-test-suite'
command: PRESET_OPTIONS="stream.run-type=0" pts_run stream
_description: Run Stream Copy benchmark

plugin: shell
category_id: 2013.com.canonical.plainbox::benchmarks
id: benchmarks/memory/stream-scale
estimated_duration: 6.0
requires: package.name == 'phoronix-test-suite'
command: PRESET_OPTIONS="stream.run-type=1" pts_run stream
_description: Run Stream Scale benchmark

plugin: shell
category_id: 2013.com.canonical.plainbox::benchmarks
id: benchmarks/memory/stream-add
estimated_duration: 5.0
requires: package.name == 'phoronix-test-suite'
command: PRESET_OPTIONS="stream.run-type=2" pts_run stream
_description: Run Stream Add benchmark

plugin: shell
category_id: 2013.com.canonical.plainbox::benchmarks
id: benchmarks/memory/stream-triad
estimated_duration: 4.0
requires: package.name == 'phoronix-test-suite'
command: PRESET_OPTIONS="stream.run-type=3" pts_run stream
_description: Run Stream Triad benchmark

plugin: shell
category_id: 2013.com.canonical.plainbox::benchmarks
id: benchmarks/network/network-loopback
requires: package.name == 'phoronix-test-suite'
command: pts_run network-loopback
estimated_duration: 85.0
_description: Run Network Loopback benchmark

plugin: shell
category_id: 2013.com.canonical.plainbox::benchmarks
id: benchmarks/network/wifi_time_to_reconnect
requires: device.category == 'WIRELESS'
command: wifi_time2reconnect
_description: Check the time needed to reconnect to a WIFI access point

plugin: shell
category_id: 2013.com.canonical.plainbox::benchmarks
id: benchmarks/processor/encode-mp3
estimated_duration: 140.0
requires: package.name == 'phoronix-test-suite'
command: pts_run encode-mp3
_description: Run Encode MP3 benchmark

plugin: shell
category_id: 2013.com.canonical.plainbox::benchmarks
id: benchmarks/processor/x264
estimated_duration: 400.0
requires: package.name == 'phoronix-test-suite'
command: pts_run x264
_description: Run x264 H.264/AVC encoder benchmark

plugin: shell
category_id: 2013.com.canonical.plainbox::benchmarks
id: benchmarks/processor/gnupg
requires: package.name == 'phoronix-test-suite'
command: pts_run gnupg
_description: Run GnuPG benchmark

plugin: shell
category_id: 2013.com.canonical.plainbox::benchmarks
id: benchmarks/processor/compress-pbzip2
estimated_duration: 90.0
requires: package.name == 'phoronix-test-suite'
command: pts_run compress-pbzip2
_description: Run Compress PBZIP2 benchmark

plugin: shell
category_id: 2013.com.canonical.plainbox::benchmarks
id: benchmarks/processor/compress-7zip
estimated_duration: 1400
requires: package.name == 'phoronix-test-suite'
command: pts_run compress-7zip
_description: Run Compress 7ZIP benchmark

plugin: shell
category_id: 2013.com.canonical.plainbox::benchmarks
id: benchmarks/processor/n-queens
estimated_duration: 330.0
requires: package.name == 'phoronix-test-suite'
command: pts_run n-queens
_description: Run N-Queens benchmark

plugin: shell
category_id: 2013.com.canonical.plainbox::benchmarks
id: benchmarks/processor/himeno
estimated_duration: 75.0
requires: package.name == 'phoronix-test-suite'
command: pts_run himeno
_description: Run Himeno benchmark

plugin: shell
category_id: 2013.com.canonical.plainbox::benchmarks
id: benchmarks/system/cpu_on_idle
estimated_duration: 10.0
requires: package.name == 'sysstat'
command: iostat -x -m 1 10 | python3 -c 'import sys, re; lines="".join(sys.stdin.readlines()); l=[float(n) for n in (re.findall("idle\n.*?(\S+)\n", lines))]; print(sum(l)/len(l),"%")'
_description: CPU utilization on an idle system.

plugin: shell
category_id: 2013.com.canonical.plainbox::benchmarks
id: benchmarks/system/disk_on_idle
estimated_duration: 10.0
requires: package.name == 'sysstat'
command: iostat -x -m 1 10 | python3 -c 'import sys, re; lines="".join(sys.stdin.readlines()); l=[float(n) for n in (re.findall("util\n.*?(\S+)\n", lines))]; print(sum(l)/len(l),"%")'
_description: Disk utilization on an idle system.

plugin: shell
category_id: 2013.com.canonical.plainbox::benchmarks
id: benchmarks/graphics/gputest_furmark_fullscreen_1920x1080
requires:
 package.name == 'gputest'
 cpuinfo.platform == 'x86_64'
command: gputest_benchmark fur --width 1920 --height 1080 -f
estimated_duration: 75.000
_description:
 Run a stress test based on FurMark (OpenGL 2.1 or 3.2)
 Fullscreen 1920x1080 no antialiasing

plugin: shell
category_id: 2013.com.canonical.plainbox::benchmarks
id: benchmarks/graphics/gputest_furmark_windowed_1024x640
requires:
 package.name == 'gputest'
 cpuinfo.platform == 'x86_64'
command: gputest_benchmark fur
estimated_duration: 75.000
_description:
 Run a stress test based on FurMark (OpenGL 2.1 or 3.2)
 Windowed 1024x640 no antialiasing

plugin: shell
category_id: 2013.com.canonical.plainbox::benchmarks
id: benchmarks/graphics/gputest_gimark_fullscreen_1920x1080
requires:
 package.name == 'gputest'
 cpuinfo.platform == 'x86_64'
command: gputest_benchmark gi --width 1920 --height 1080 -f
estimated_duration: 75.00
_description:
 Run GiMark, a geometry instancing test (OpenGL 3.3)
 Fullscreen 1920x1080 no antialiasing

plugin: shell
category_id: 2013.com.canonical.plainbox::benchmarks
id: benchmarks/graphics/gputest_gimark_windowed_1024x640
requires:
 package.name == 'gputest'
 cpuinfo.platform == 'x86_64'
command: gputest_benchmark gi
estimated_duration: 75.500
_description:
 Run GiMark, a geometry instancing test (OpenGL 3.3)
 Windowed 1024x640 no antialiasing

plugin: shell
category_id: 2013.com.canonical.plainbox::benchmarks
id: benchmarks/graphics/gputest_tessmark_fullscreen_1920x1080
requires:
 package.name == 'gputest'
 cpuinfo.platform == 'x86_64'
command: gputest_benchmark tess --width 1920 --height 1080 -f
estimated_duration: 75.000
_description:
 Run a tessellation test based on TessMark (OpenGL 4.0)
 Fullscreen 1920x1080 no antialiasing

plugin: shell
category_id: 2013.com.canonical.plainbox::benchmarks
id: benchmarks/graphics/gputest_tessmark_windowed_1024x640
requires:
 package.name == 'gputest'
 cpuinfo.platform == 'x86_64'
command: gputest_benchmark tess
_description:
 Run a tessellation test based on TessMark (OpenGL 4.0)
 Windowed 1024x640 no antialiasing