libgit2/tests-clar/core
Russell Belfer d730d3f4f0 Major rename detection changes
After doing further profiling, I found that a lot of time was
being spent attempting to insert hashes into the file hash
signature when using the rolling hash because the rolling hash
approach generates a hash per byte of the file instead of one
per run/line of data.

To optimize this, I decided to convert back to a run-based file
signature algorithm which would be more like core Git.

After changing this, a number of the existing tests started to
fail.  In some cases, this appears to have been because the test
was coded to be too specific to the particular results of the file
similarity metric and in some cases there appear to have been bugs
in the core rename detection code where only by the coincidence
of the file similarity scoring were the expected results being
generated.

This renames all the variables in the core rename detection code
to be more consistent and hopefully easier to follow which made it
a bit easier to reason about the behavior of that code and fix the
problems that I was seeing.  I think it's in better shape now.

There are a couple of tests now that attempt to stress test the
rename detection code and they are quite slow.  Most of the time
is spent setting up the test data on disk and in the index.  When
we roll out performance improvements for index insertion, it
should also speed up these tests I hope.
2013-07-31 16:40:42 -07:00
..
bitvec.c Basic bit vector 2013-07-10 20:50:33 +02:00
buffer.c Major rename detection changes 2013-07-31 16:40:42 -07:00
caps.c Add GIT_CAP_SSH if library was built with SSH 2013-07-09 16:17:41 -07:00
copy.c Extensions to rmdir and mkdir utilities 2012-11-09 13:52:06 -08:00
dirent.c Add a test to verify FILENAME_MAX 2012-05-13 23:12:51 -07:00
env.c Fixes and cleanups 2013-03-18 15:54:35 -07:00
errors.c Make giterr_set_str public 2012-09-21 15:04:39 -07:00
filebuf.c misc: Fix warnings from PVS Studio trial 2012-06-07 22:43:48 +02:00
hex.c Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00
mkdir.c Extensions to rmdir and mkdir utilities 2012-11-09 13:52:06 -08:00
oid.c Add git_oid_strcmp and use it for git_oid_streq 2013-04-29 08:59:46 -07:00
oidmap.c Add tests for oidmap and new cache with threading 2013-04-22 16:50:51 +02:00
opts.c lol this worked first try wtf 2013-04-22 16:50:50 +02:00
path.c Fix some incorrect MSVC #ifdef's. Fixes #1305 2013-02-11 09:25:57 -05:00
pool.c allow (ignore) bare slash in gitignore 2013-05-29 16:26:25 -05:00
rmdir.c Extensions to rmdir and mkdir utilities 2012-11-09 13:52:06 -08:00
stat.c Update clar tests p_lstat_posixly and p_lstat 2012-11-20 00:57:56 -02:00
string.c git__strcasesort_cmp: strcasecmp sorting rules but requires strict equality 2013-06-17 10:03:15 -07:00
strmap.c Rename git_khash_str to git_strmap, etc. 2012-04-25 15:20:28 -07:00
strtol.c Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00
vector.c Fix up some missing consts in tree & index 2012-11-27 13:18:29 -08:00