tools: update (quick)bench tests a little

Today I'm seeing relative performance numbers like this (linode 1G VPS, 32-bit GNU/Linux):

+-------------------------------------------++--------------+--------------+--------------+---------------------+
|                                           || hledger-0.18 | hledger-0.19 | hledger-0.20 | ledger-3.0-20130215 |
+===========================================++==============+==============+==============+=====================+
| -f data/100x100x10.journal     balance    ||         0.16 |         0.04 |         0.05 |                0.02 |
| -f data/1000x1000x10.journal   balance    ||         8.26 |         0.34 |         0.47 |                0.07 |
| -f data/10000x1000x10.journal  balance    ||        11.85 |         2.59 |         3.94 |                0.31 |
| -f data/10000x1000x10.journal  balance aa ||         3.73 |         3.49 |         4.72 |                0.23 |
| -f data/100x100x10.journal     register   ||         0.07 |         0.07 |         0.07 |                0.07 |
| -f data/1000x1000x10.journal   register   ||         0.56 |         0.51 |         0.70 |                0.54 |
| -f data/100x100x10.journal     print      ||         0.06 |         0.04 |         0.06 |                0.01 |
| -f data/1000x1000x10.journal   print      ||         0.37 |         0.34 |         0.49 |                0.07 |
| -f data/10000x1000x10.journal  print      ||         3.84 |         3.54 |         4.62 |                0.55 |
+-------------------------------------------++--------------+--------------+--------------+---------------------+
This commit is contained in:
Simon Michael 2013-05-03 13:18:05 -07:00
parent c2d93f2c68
commit 473f752106
2 changed files with 3 additions and 4 deletions

View File

@ -17,8 +17,7 @@ COVCMD=-f test-wf.csv print
# executables to run during "make simplebench". They should be on the path
# or in the current directory. hledger executables for benchmarking should
# generally be the standard optimised cabal build, constrained to parsec 2.
BENCHEXES=hledger-0.12.1 hledger-0.13 hledger-0.14 hledger-0.15 hledger-0.16 hledger-0.17 hledger-0.18 hledgeropt ledger
BENCHEXES=hledger-0.18 hledgeropt ledger
BENCHEXES=hledger-0.18 hledger-0.19 hledger-0.20 ledger-3.0-20130215
# misc. tools
BROWSE=google-chrome
@ -436,7 +435,7 @@ fullcabaltest:
# run simple performance benchmarks without saving results
# Requires some commands defined in bench.tests and some BENCHEXES defined above.
quickbench: samplejournals bench.tests tools/simplebench
tools/simplebench -fbench.tests $(BENCHEXES)
tools/simplebench -v -fbench.tests $(BENCHEXES)
@rm -f benchresults.*
# run simple performance benchmarks and archive results

View File

@ -12,7 +12,7 @@
-f data/100x100x10.journal register
-f data/1000x1000x10.journal register
#-f data/1000x10000x10.journal register
-f data/10000x1000x10.journal register
#-f data/10000x1000x10.journal register
#-f data/10000x10000x10.journal register
#-f data/10000x1000x10.journal register aa
#-f data/100000x1000x10.journal register