Skip to content

Commit 2107abf

Browse files
committed
benchmark: enforce release build, even though it is the default
1 parent d33c12d commit 2107abf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bin/admin/benchmark_compare.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import json
88
import argparse
99

10-
SILENT_OUTPUT = True # Set to True to suppress command line output
10+
SILENT_OUTPUT = False # Set to True to suppress command line output
1111

1212
def run_command(command):
1313
subprocess.run(command, shell=True, check=True, capture_output=SILENT_OUTPUT, text=True)
@@ -155,6 +155,7 @@ def compare_benchmarks(base_benchmark, new_benchmark, metric="cpu_time"):
155155

156156
# Define CMake variables
157157
cmake_variables = ["-G Ninja",
158+
"-DCMAKE_BUILD_TYPE=Release",
158159
"-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON",
159160
"-DSEQUANT_TESTS=OFF",
160161
"-DSEQUANT_EVAL_TESTS=OFF",

0 commit comments

Comments
 (0)