diff --git a/collections/perf.sh b/collections/perf.sh index 7f9408f3..df900ce4 100644 --- a/collections/perf.sh +++ b/collections/perf.sh @@ -60,9 +60,9 @@ function perf(wasm, title, init, batch) { uninstall(cid); }; -let init_size = 500_000; +let init_size = 1_000_000; let batch_size = 50; -output(file, "\n## Map\n\n| |binary_size|generate 500k|max mem|batch_get 50|batch_put 50|batch_remove 50|upgrade|\n|--:|--:|--:|--:|--:|--:|--:|--:|\n"); +output(file, "\n## Map\n\n| |binary_size|generate 1m|max mem|batch_get 50|batch_put 50|batch_remove 50|upgrade|\n|--:|--:|--:|--:|--:|--:|--:|--:|\n"); perf(hashmap, "hashmap", init_size, batch_size); perf(triemap, "triemap", init_size, batch_size); perf(rbtree, "rbtree", init_size, batch_size); @@ -73,7 +73,7 @@ perf(btreemap_rs, "btreemap_rs", init_size, batch_size); perf(imrc_hashmap_rs, "imrc_hashmap_rs", init_size, batch_size); perf(hashmap_rs, "hashmap_rs", init_size, batch_size); -output(file, "\n## Priority queue\n\n| |binary_size|heapify 500k|max mem|pop_min 50|put 50|pop_min 50|upgrade|\n|--:|--:|--:|--:|--:|--:|--:|--:|\n"); +output(file, "\n## Priority queue\n\n| |binary_size|heapify 1m|max mem|pop_min 50|put 50|pop_min 50|upgrade|\n|--:|--:|--:|--:|--:|--:|--:|--:|\n"); perf(heap, "heap", init_size, batch_size); perf(heap_rs, "heap_rs", init_size, batch_size); diff --git a/utils.mk b/utils.mk index b7bf74cc..2f55440c 100644 --- a/utils.mk +++ b/utils.mk @@ -36,8 +36,7 @@ define perf set -e; \ $(call prepare_perf,$(1)); \ ic-repl ../../$(1)/$(2); \ - du -h ../../_out; \ - df -h + du -h ../../_out endef define perf_two @@ -45,6 +44,5 @@ define perf_two $(call prepare_perf,$(1)); \ ic-repl ../../$(1)/$(2); \ ic-repl ../../$(1)/$(3); \ - du -h ../../_out; \ - df -h + du -h ../../_out endef