Skip to content

Conversation

vdye
Copy link

@vdye vdye commented Aug 19, 2022

This series fixes two performance tests (p0004 & p0006) with syntax issues preventing them from running properly. Since these are pretty straightforward syntax bugs, the fixes don't seem to change the intended behavior of the tests.

Thanks!

  • Victoria

vdye added 2 commits August 19, 2022 13:23
Fix multi-threaded 'p0004' test's use of the 'REPO_BIG_ENOUGH_FOR_MULTI'
prerequisite. Unlike normal 't/' tests, 't/perf/' tests need to have their
prerequisites declared with the '--prereq' flag.

Signed-off-by: Victoria Dye <vdye@github.com>
In the 'p0006' test "read-tree br_base br_ballast", move the '-n' flag used
in 'git read-tree' ahead of its positional arguments.

Signed-off-by: Victoria Dye <vdye@github.com>
@vdye vdye self-assigned this Aug 19, 2022
@vdye
Copy link
Author

vdye commented Aug 19, 2022

/submit

@gitgitgadget
Copy link

gitgitgadget bot commented Aug 19, 2022

Submitted as pull.1330.git.1660942149.gitgitgadget@gmail.com

To fetch this version into FETCH_HEAD:

git fetch https://github.com/gitgitgadget/git/ pr-1330/vdye/bugfix/perf-test-bugs-v1

To fetch this version to local tag pr-1330/vdye/bugfix/perf-test-bugs-v1:

git fetch --no-tags https://github.com/gitgitgadget/git/ tag pr-1330/vdye/bugfix/perf-test-bugs-v1

'

test_perf "single-threaded, $desc" "
test-tool lazy-init-name-hash --single --count=$count
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On the Git mailing list, Junio C Hamano wrote (reply to this):

"Victoria Dye via GitGitGadget" <gitgitgadget@gmail.com> writes:

> From: Victoria Dye <vdye@github.com>
>
> Fix multi-threaded 'p0004' test's use of the 'REPO_BIG_ENOUGH_FOR_MULTI'
> prerequisite. Unlike normal 't/' tests, 't/perf/' tests need to have their
> prerequisites declared with the '--prereq' flag.
>
> Signed-off-by: Victoria Dye <vdye@github.com>
> ---
>  t/perf/p0004-lazy-init-name-hash.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Thanks.  It is unfortunate that we need to live with this seemingly
unnecessary deviation.

> diff --git a/t/perf/p0004-lazy-init-name-hash.sh b/t/perf/p0004-lazy-init-name-hash.sh
> index 1afc08fe7f1..85be14e4ddb 100755
> --- a/t/perf/p0004-lazy-init-name-hash.sh
> +++ b/t/perf/p0004-lazy-init-name-hash.sh
> @@ -49,7 +49,7 @@ test_perf "single-threaded, $desc" "
>  	test-tool lazy-init-name-hash --single --count=$count
>  "
>  
> -test_perf REPO_BIG_ENOUGH_FOR_MULTI "multi-threaded, $desc" "
> +test_perf "multi-threaded, $desc" --prereq REPO_BIG_ENOUGH_FOR_MULTI "
>  	test-tool lazy-init-name-hash --multi --count=$count
>  "

@gitgitgadget
Copy link

gitgitgadget bot commented Aug 19, 2022

This branch is now known as vd/fix-perf-tests.

@gitgitgadget
Copy link

gitgitgadget bot commented Aug 19, 2022

This patch series was integrated into seen via git@e6534b9.

@gitgitgadget gitgitgadget bot added the seen label Aug 19, 2022
@gitgitgadget
Copy link

gitgitgadget bot commented Aug 20, 2022

This patch series was integrated into seen via git@b2cd103.

@gitgitgadget
Copy link

gitgitgadget bot commented Aug 20, 2022

There was a status update in the "New Topics" section about the branch vd/fix-perf-tests on the Git mailing list:

Rather trivial perf-test code fixes.

Will merge to 'next'.
source: <pull.1330.git.1660942149.gitgitgadget@gmail.com>

@gitgitgadget
Copy link

gitgitgadget bot commented Aug 20, 2022

This patch series was integrated into seen via git@8bfb8fe.

@gitgitgadget
Copy link

gitgitgadget bot commented Aug 22, 2022

This patch series was integrated into seen via git@6043214.

@gitgitgadget
Copy link

gitgitgadget bot commented Aug 22, 2022

This patch series was integrated into next via git@e68356e.

@gitgitgadget gitgitgadget bot added the next label Aug 22, 2022
@gitgitgadget
Copy link

gitgitgadget bot commented Aug 24, 2022

This patch series was integrated into seen via git@52062dc.

@gitgitgadget
Copy link

gitgitgadget bot commented Aug 25, 2022

This patch series was integrated into seen via git@6371cda.

@gitgitgadget
Copy link

gitgitgadget bot commented Aug 25, 2022

There was a status update in the "Cooking" section about the branch vd/fix-perf-tests on the Git mailing list:

Rather trivial perf-test code fixes.

Will merge to 'master'.
source: <pull.1330.git.1660942149.gitgitgadget@gmail.com>

@gitgitgadget
Copy link

gitgitgadget bot commented Aug 25, 2022

This patch series was integrated into seen via git@61eab6f.

@gitgitgadget
Copy link

gitgitgadget bot commented Aug 26, 2022

This patch series was integrated into seen via git@78a6d2f.

@gitgitgadget
Copy link

gitgitgadget bot commented Aug 26, 2022

There was a status update in the "Cooking" section about the branch vd/fix-perf-tests on the Git mailing list:

Rather trivial perf-test code fixes.

Will merge to 'master'.
source: <pull.1330.git.1660942149.gitgitgadget@gmail.com>

@gitgitgadget
Copy link

gitgitgadget bot commented Aug 30, 2022

This patch series was integrated into seen via git@2540220.

@gitgitgadget
Copy link

gitgitgadget bot commented Aug 30, 2022

This patch series was integrated into master via git@2540220.

@gitgitgadget
Copy link

gitgitgadget bot commented Aug 30, 2022

This patch series was integrated into next via git@2540220.

@gitgitgadget gitgitgadget bot added the master label Aug 30, 2022
@gitgitgadget gitgitgadget bot closed this Aug 30, 2022
@gitgitgadget
Copy link

gitgitgadget bot commented Aug 30, 2022

Closed via 2540220.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant