p2000: remove stray '--sparse' flag from test
commitd52fcf493b03e3eae61cc7d75698ebcc1182f0c8
authorDerrick Stolee <derrickstolee@github.com>
Tue, 28 Mar 2023 20:09:22 +0000 (28 20:09 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 Mar 2023 20:25:52 +0000 (28 13:25 -0700)
tree2a3b0bac4f29d6ee3a849ee372d9ae1d2438f729
parent7cae7627c459ae5d0cd8f4c1ff76601e6c952bf3
p2000: remove stray '--sparse' flag from test

This argument was added in 7cae7627c45 (builtin/grep.c: integrate with
sparse index, 2022-09-22), but it was a carry-over from an earlier
version where the --sparse flag was added to the 'git grep' builtin.
This argument does not exist, so currently the
p2000-sparse-operations.sh performance test script fails when reaching
this step.

With this fix, the script works with these numbers for my copy of the
Git source code repository:

Test                                         HEAD
------------------------------------------------------------
2000.30: git grep --cached ... (full-v3)     0.34(1.20+0.14)
2000.31: git grep --cached ... (full-v4)     0.31(1.15+0.13)
2000.32: git grep --cached ... (sparse-v3)   0.26(1.13+0.12)
2000.33: git grep --cached ... (sparse-v4)   0.27(1.13+0.12)

Signed-off-by: Derrick Stolee <derrickstolee@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/perf/p2000-sparse-operations.sh