From f469785c97e452f291827163a8c6b181e5fbbe05 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sat, 20 Nov 2021 22:55:16 -1000 Subject: [PATCH] ;imp: tools: make throughput --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Makefile b/Makefile index 5c0381706..dccdf3447 100644 --- a/Makefile +++ b/Makefile @@ -673,6 +673,16 @@ quickbench: samplejournals bench.sh $(call def-help,quickbench, benchmark comman # ) # tools/progressionbench -- -t png -k png +throughput: samplejournals \ + $(call def-help,throughput, show throughput at various data sizes ) + @date + @uname -a + @hledger --version + @for n in 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000 100000 ; do \ + printf "%d: " $$n; hledger stats -f examples/$${n}x1000x10.journal | tail -1; \ + done + @date + # prof: samplejournals \ # $(call def-help,prof,\ # generate and archive an execution profile\