aboutsummaryrefslogtreecommitdiff
path: root/modules/benchmark.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/benchmark.c')
-rw-r--r--modules/benchmark.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/benchmark.c b/modules/benchmark.c
index 362755e8..5f1dc0a5 100644
--- a/modules/benchmark.c
+++ b/modules/benchmark.c
@@ -441,6 +441,8 @@ static void do_benchmark(void (*benchmark_function)(void), int entry)
{
int old_priority = 0;
+ if (params.skip_benchmarks) return;
+
if (params.gui_running && !sending_benchmark_results) {
gchar *argv[] = { params.argv0, "-b", entries[entry].name,
"-m", "benchmark.so", "-a", NULL };