From e77c115783afbe286df6a31c8dc3fcb5d6052dc0 Mon Sep 17 00:00:00 2001 From: Yan Chen <48968912+chenyan-dfinity@users.noreply.github.com> Date: Thu, 3 Oct 2024 07:30:41 -0700 Subject: [PATCH] reduce crypto size again --- crypto/perf.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/perf.sh b/crypto/perf.sh index ff54c27..7d9375a 100644 --- a/crypto/perf.sh +++ b/crypto/perf.sh @@ -74,7 +74,7 @@ let res2 = perf_sha(sha_rs, "Rust"); assert res1 == res2; output(file, "\n## Certified map\n\n| |binary_size|generate 10k|max mem|inc|witness|upgrade|\n|--:|--:|--:|--:|--:|--:|--:|\n"); -let init_size = 5_000; +let init_size = 2_000; let res1 = perf_map(map_mo, "Motoko", init_size); let res2 = perf_map(map_rs, "Rust", init_size); // Cannot check for equality because witness is not unique