1
0
mirror of https://github.com/git/git synced 2024-07-05 00:58:49 +00:00
git/t/valgrind
David Turner 745224e04a refs.c: SSE2 optimizations for check_refname_component
Optimize check_refname_component using SSE2 on x86_64.

git rev-parse HEAD is a good test-case for this, since it does almost
nothing except parse refs.  For one particular repo with about 60k
refs, almost all packed, the timings are:

Look up table: 29 ms
SSE2:          23 ms

This cuts about 20% off of the runtime.

Ondřej Bílka <neleai@seznam.cz> suggested an SSE2 approach to the
substring searches, which netted a speed boost over the SSE4.2 code I
had initially written.

Signed-off-by: David Turner <dturner@twitter.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2014-06-18 10:57:18 -07:00
..
.gitignore
analyze.sh test output: respect $TEST_OUTPUT_DIRECTORY 2013-04-29 11:26:23 -07:00
default.supp refs.c: SSE2 optimizations for check_refname_component 2014-06-18 10:57:18 -07:00
valgrind.sh test-lib: valgrind for only tests matching a pattern 2013-06-23 12:24:06 -07:00