From 2531d106676dd15841ff9ce51fab4a22e16a677a Mon Sep 17 00:00:00 2001 From: Yan Chen <48968912+chenyan-dfinity@users.noreply.github.com> Date: Wed, 2 Oct 2024 20:30:04 -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 376d305..bb65838 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 = 8_000; +let init_size = 6_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