Re: [PATCH 2/4] perf-test: add tests for notmuch-git

Subject: Re: [PATCH 2/4] perf-test: add tests for notmuch-git

Date: Tue, 05 Jul 2022 19:40:49 +0300

To: David Bremner, notmuch@notmuchmail.org

Cc:

From: Tomi Ollila


On Sun, Jul 03 2022, David Bremner wrote:

> The main focus of these initial tests is the (currently unacceptably
> slow) checkout performance.
> ---
>  performance-test/T07-git.sh | 23 +++++++++++++++++++++++
>  1 file changed, 23 insertions(+)
>  create mode 100755 performance-test/T07-git.sh
>
> diff --git a/performance-test/T07-git.sh b/performance-test/T07-git.sh
> new file mode 100755
> index 00000000..11dfec05
> --- /dev/null
> +++ b/performance-test/T07-git.sh
> @@ -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"
> +
> +
> +

Is three empty lines a bit excessive...?

> +time_done
> -- 
> 2.35.2
>
> _______________________________________________
> notmuch mailing list -- notmuch@notmuchmail.org
> To unsubscribe send an email to notmuch-leave@notmuchmail.org
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: