aboutsummaryrefslogtreecommitdiff
path: root/modules/benchmark/fbench.c
diff options
context:
space:
mode:
authorbigbear <ns@bigbear.dk>2024-02-08 03:13:01 +0100
committerbigbear <ns@bigbear.dk>2024-02-08 19:52:53 +0100
commit590da61f2e3fbcdb7493485f3e2ea359ccc0ac89 (patch)
tree11942c329bc695e1360f3746217a8b382c4f8637 /modules/benchmark/fbench.c
parent1372520972daf599fbaa1f6f0d61a4a8c736db39 (diff)
FIX new benchmarks working for slow & fast machines
Diffstat (limited to 'modules/benchmark/fbench.c')
-rw-r--r--modules/benchmark/fbench.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/benchmark/fbench.c b/modules/benchmark/fbench.c
index 8bc4ab47..cf1ff934 100644
--- a/modules/benchmark/fbench.c
+++ b/modules/benchmark/fbench.c
@@ -277,9 +277,7 @@ static int itercount; /* The iteration counter for the main loop
optimise out the loop over the ray
tracing code. */
-#ifndef ITERATIONS
-#define ITERATIONS 1000
-#endif
+#define ITERATIONS 300
static int niter = ITERATIONS; /* Iteration counter */
#if 0
@@ -690,8 +688,6 @@ void fbench()
spectral_line[7] = 4340.477; /* G' */
spectral_line[8] = 3968.494; /* H */
- niter = 3000;
-
/* Load test case into working array */
clear_aperture = 4.0;