Jobs based on custom runners: add job definitions for QEMU's machines
[qemu.git] / tests / bench / meson.build
blob00b3c209dcbd16958a32283c86e8cb5f3ae2d5cb
2 qht_bench = executable('qht-bench',
3                        sources: 'qht-bench.c',
4                        dependencies: [qemuutil])
6 executable('atomic_add-bench',
7            sources: files('atomic_add-bench.c'),
8            dependencies: [qemuutil],
9            build_by_default: false)
11 executable('atomic64-bench',
12            sources: files('atomic64-bench.c'),
13            dependencies: [qemuutil],
14            build_by_default: false)
16 benchs = {}
18 if have_block
19   benchs += {
20      'benchmark-crypto-hash': [crypto],
21      'benchmark-crypto-hmac': [crypto],
22      'benchmark-crypto-cipher': [crypto],
23   }
24 endif
26 foreach bench_name, deps: benchs
27   exe = executable(bench_name, bench_name + '.c',
28                    dependencies: [qemuutil] + deps)
29   benchmark(bench_name, exe,
30             args: ['--tap', '-k'],
31             protocol: 'tap',
32             timeout: 0,
33             suite: ['speed'])
34 endforeach