Skip to content

Commit d0f3123

Browse files
HACK: Don't run unrelevant stuff in bench_ecmult
1 parent 7a2fff8 commit d0f3123

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/bench_ecmult.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -366,18 +366,18 @@ int main(int argc, char **argv) {
366366
print_output_table_header_row();
367367
/* Initialize offset1 and offset2 */
368368
hash_into_offset(&data, 0);
369-
run_ecmult_bench(&data, iters);
369+
/* run_ecmult_bench(&data, iters); */
370370

371-
for (i = 1; i <= 8; ++i) {
372-
run_ecmult_multi_bench(&data, i, 1, iters);
373-
}
371+
/* for (i = 1; i <= 8; ++i) { */
372+
/* run_ecmult_multi_bench(&data, i, 1, iters); */
373+
/* } */
374374

375375
/* This is disabled with low count of iterations because the loop runs 77 times even with iters=1
376376
* and the higher it goes the longer the computation takes(more points)
377377
* So we don't run this benchmark with low iterations to prevent slow down */
378378
if (iters > 2) {
379-
for (p = 0; p <= 11; ++p) {
380-
for (i = 9; i <= 16; ++i) {
379+
for (p = 3; p <= 11; p +=1) {
380+
for (i = 10; i <= 16; i+=2) {
381381
run_ecmult_multi_bench(&data, i << p, 1, iters);
382382
}
383383
}

0 commit comments

Comments
 (0)