improve benchmark --databases

* benchmark: Changed --databases to take a parameter specifiying the size
  of the database to benchmark.
* benchmark --databases: Display size of the populated database.
* benchmark --databases: Improve the "addAssociatedFile to (new)"
  benchmark to really add new values, not overwriting old values.
This commit is contained in:
Joey Hess 2019-11-21 17:25:20 -04:00
parent 8ea5f3ff99
commit 25ba8156bc
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
4 changed files with 29 additions and 24 deletions

View file

@ -4,7 +4,7 @@ git-annex benchmark - benchmark git-annex commands
# SYNOPSIS
git annex benchmark [criterionopts] ( -- commmand [; command] | --databases )
git annex benchmark [criterionopts] ( -- commmand [; command] | --databases=N )
# DESCRIPTION
@ -39,8 +39,8 @@ used.
Any options that git-annex usually accepts can be included after the
command to benchmark.
The --databases option benchmark's git-annex's use of sqlite databases,
instead of a command.
The --databases=N option benchmark's git-annex's use of sqlite databases,
instead of a command. N is the number of items to benchmark.
# OUTPUT