-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: Move benchmarks into a separate folder
Make it clear that these files are related to benchmarks by moving them into a new folder called "bench". Message-Id: <[email protected]> Acked-by: Paolo Bonzini <[email protected]> Signed-off-by: Thomas Huth <[email protected]>
- Loading branch information
Showing
9 changed files
with
36 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
|
||
qht_bench = executable('qht-bench', | ||
sources: 'qht-bench.c', | ||
dependencies: [qemuutil]) | ||
|
||
executable('atomic_add-bench', | ||
sources: files('atomic_add-bench.c'), | ||
dependencies: [qemuutil], | ||
build_by_default: false) | ||
|
||
executable('atomic64-bench', | ||
sources: files('atomic64-bench.c'), | ||
dependencies: [qemuutil], | ||
build_by_default: false) | ||
|
||
benchs = {} | ||
|
||
if have_block | ||
benchs += { | ||
'benchmark-crypto-hash': [crypto], | ||
'benchmark-crypto-hmac': [crypto], | ||
'benchmark-crypto-cipher': [crypto], | ||
} | ||
endif | ||
|
||
foreach bench_name, deps: benchs | ||
exe = executable(bench_name, bench_name + '.c', | ||
dependencies: [qemuutil] + deps) | ||
benchmark(bench_name, exe, | ||
args: ['--tap', '-k'], | ||
protocol: 'tap', | ||
timeout: 0, | ||
suite: ['speed']) | ||
endforeach |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters