745224e04a
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>
60 lines
716 B
Plaintext
60 lines
716 B
Plaintext
{
|
|
ignore-zlib-errors-cond
|
|
Memcheck:Cond
|
|
obj:*libz.so*
|
|
}
|
|
|
|
{
|
|
ignore-zlib-errors-value8
|
|
Memcheck:Value8
|
|
obj:*libz.so*
|
|
}
|
|
|
|
{
|
|
ignore-zlib-errors-value4
|
|
Memcheck:Value4
|
|
obj:*libz.so*
|
|
}
|
|
|
|
{
|
|
ignore-ldso-cond
|
|
Memcheck:Cond
|
|
obj:*ld-*.so
|
|
}
|
|
|
|
{
|
|
ignore-ldso-addr8
|
|
Memcheck:Addr8
|
|
obj:*ld-*.so
|
|
}
|
|
|
|
{
|
|
ignore-ldso-addr4
|
|
Memcheck:Addr4
|
|
obj:*ld-*.so
|
|
}
|
|
|
|
{
|
|
writing-data-from-zlib-triggers-even-more-errors
|
|
Memcheck:Param
|
|
write(buf)
|
|
obj:/lib/ld-*.so
|
|
fun:write_in_full
|
|
fun:write_buffer
|
|
fun:write_loose_object
|
|
}
|
|
|
|
{
|
|
ignore-sse-strlen-invalid-read-size
|
|
Memcheck:Addr4
|
|
fun:copy_ref
|
|
}
|
|
{
|
|
ignore-sse-check_refname_format
|
|
Memcheck:Addr8
|
|
fun:check_refname_format
|
|
fun:cmd_check_ref_format
|
|
fun:handle_builtin
|
|
fun:main
|
|
}
|