aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-10-03 10:41:08 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2024-10-03 15:41:40 +0200
commit4ee7739d78889cef33d0c60a870922398e0b5e31 (patch)
treec5c2280dea2fccedcd3308937af4305e25778517
parentb8d17736ce2c85174a47c7200ef6d19a51d0c347 (diff)
downloadnissy-core-4ee7739d78889cef33d0c60a870922398e0b5e31.tar.gz
nissy-core-4ee7739d78889cef33d0c60a870922398e0b5e31.zip
Made test 120 (gendata h0k4) faster
The test is still slow (around 25 seconds on gazelle). This is probably because of how sanitizers interact with multi-threading, and the fact that there is a lot of locking going on.
-rwxr-xr-xconfigure.sh2
-rw-r--r--test/120_gendata_h48h0k4/00_h_0.in2
-rw-r--r--test/120_gendata_h48h0k4/00_h_0.out1
3 files changed, 2 insertions, 3 deletions
diff --git a/configure.sh b/configure.sh
index 2b2f40b..026d450 100755
--- a/configure.sh
+++ b/configure.sh
@@ -85,7 +85,7 @@ validatethreads
85validatearch 85validatearch
86 86
87STD="-std=c11" 87STD="-std=c11"
88WFLAGS="-pedantic -Wall -Wextra" 88WFLAGS="-pedantic -Wall -Wextra -Werror"
89WNOFLAGS="-Wno-unused-parameter -Wno-unused-function -Wno-unknown-pragmas" 89WNOFLAGS="-Wno-unused-parameter -Wno-unused-function -Wno-unknown-pragmas"
90 90
91[ "$ARCH" = "AVX2" ] && AVX="-mavx2" 91[ "$ARCH" = "AVX2" ] && AVX="-mavx2"
diff --git a/test/120_gendata_h48h0k4/00_h_0.in b/test/120_gendata_h48h0k4/00_h_0.in
index cb6e5ed..661d826 100644
--- a/test/120_gendata_h48h0k4/00_h_0.in
+++ b/test/120_gendata_h48h0k4/00_h_0.in
@@ -1,2 +1,2 @@
15 14
20 20
diff --git a/test/120_gendata_h48h0k4/00_h_0.out b/test/120_gendata_h48h0k4/00_h_0.out
index 7d70463..6ca64de 100644
--- a/test/120_gendata_h48h0k4/00_h_0.out
+++ b/test/120_gendata_h48h0k4/00_h_0.out
@@ -20,4 +20,3 @@ h48:
202: 4 202: 4
213: 34 213: 34
224: 331 224: 331
235: 3612

Generated with cgit - Back to sebastiano.tronto.net