Skip to content

Commit

Permalink
Make benchmarks more precise.
Browse files Browse the repository at this point in the history
  • Loading branch information
dfaranha committed Feb 16, 2024
1 parent b4ec104 commit e5c29a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bench/bench_cp.c
Original file line number Diff line number Diff line change
Expand Up @@ -803,14 +803,15 @@ static void pdpub(void) {
} BENCH_END;

BENCH_RUN("cp_ampub_ans") {
BENCH_ADD(cp_ampub_ask(r1, v1, w2, p, q, r2, u1, u2, t));
cp_ampub_ask(r1, v1, w2, p, q, r2, u1, u2, t);
BENCH_ADD(cp_ampub_ans(g, p, q, v1, t, w2, q));
} BENCH_END;

BENCH_RUN("cp_ampub_ver") {
g1_rand(p);
g2_rand(q);
pc_map(e, p, q);
cp_ampub_ask(r1, v1, w2, p, q, r2, u1, u2, t);
BENCH_ADD(cp_ampub_ver(r, e, g, r1));
} BENCH_END;

Expand Down

0 comments on commit e5c29a8

Please sign in to comment.