mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 12:28:09 +01:00
perf-test: add tests notmuch-git
The main focus of these initial tests is the (currently unacceptably slow) checkout performance.
This commit is contained in:
parent
349987668a
commit
c66f0dea7a
1 changed files with 23 additions and 0 deletions
23
performance-test/T07-git.sh
Executable file
23
performance-test/T07-git.sh
Executable file
|
@ -0,0 +1,23 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
test_description='notmuch-git'
|
||||||
|
|
||||||
|
. $(dirname "$0")/perf-test-lib.sh || exit 1
|
||||||
|
|
||||||
|
time_start
|
||||||
|
|
||||||
|
time_run 'init' "notmuch git init"
|
||||||
|
|
||||||
|
time_run 'commit --force' "notmuch git commit --force"
|
||||||
|
time_run 'commit' "notmuch git -l error commit"
|
||||||
|
time_run 'commit' "notmuch git -l error commit"
|
||||||
|
|
||||||
|
time_run 'checkout' "notmuch git checkout"
|
||||||
|
|
||||||
|
time_run 'tag -inbox' "notmuch tag -inbox '*'"
|
||||||
|
|
||||||
|
time_run 'checkout --force' "notmuch git checkout --force"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
time_done
|
Loading…
Reference in a new issue