Skip to content

Commit

Permalink
add polyvec_compress and polyvec_decompress to bench
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias J. Kannwischer <[email protected]>
  • Loading branch information
mkannwischer committed Nov 18, 2024
1 parent e054de9 commit 78eecac
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/bench_components_mlkem.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,11 @@ static int bench(void) {
BENCH("gen_matrix", gen_matrix((polyvec *)data0, (uint8_t *)data1, 0))


BENCH("polyvec-compress",
polyvec_compress((uint8_t *)data0, (polyvec *)data1));
BENCH("polyvec-decompress",
polyvec_decompress((polyvec *)data0, (uint8_t *)data1));

#if defined(MLKEM_USE_NATIVE_AARCH64)
BENCH("ntt-clean", ntt_asm_clean((int16_t *)data0));
BENCH("intt-clean", intt_asm_clean((int16_t *)data0));
Expand Down

0 comments on commit 78eecac

Please sign in to comment.