Commit d67071f
committed
test: Make benchmark compilation optional
Made benchmark subdirectory conditional based on OpenPFC_BUILD_BENCHMARKS
option (default: OFF). Benchmarks can take significant time to run and
are not needed for regular development testing.
Enable benchmarks with: cmake -DOpenPFC_BUILD_BENCHMARKS=ON
This speeds up normal test runs from ~10+ seconds to <1 second while
still allowing benchmarks when explicitly requested.1 parent f3c20e1 commit d67071f
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
18 | 25 | | |
19 | 26 | | |
20 | 27 | | |
| |||
0 commit comments