Merge branch 'jk/delta-base-cache'
commitc4071eace94a7dca1cc0c0702fc0d4f23d2fc510
authorJunio C Hamano <gitster@pobox.com>
Fri, 9 Sep 2016 04:49:46 +0000 (8 21:49 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 9 Sep 2016 04:49:46 +0000 (8 21:49 -0700)
treed394c5a3eed30d33092ca31c7a28c015af698776
parent6ebdac1bab966b720d776aa43ca188fe378b1f4b
parentc7df68cbca75232f7843a7d70c58a0e98decef91
Merge branch 'jk/delta-base-cache'

The delta-base-cache mechanism has been a key to the performance in
a repository with a tightly packed packfile, but it did not scale
well even with a larger value of core.deltaBaseCacheLimit.

* jk/delta-base-cache:
  t/perf: add basic perf tests for delta base cache
  delta_base_cache: use hashmap.h
  delta_base_cache: drop special treatment of blobs
  delta_base_cache: use list.h for LRU
  release_delta_base_cache: reuse existing detach function
  clear_delta_base_cache_entry: use a more descriptive name
  cache_or_unpack_entry: drop keep_cache parameter