lib/object_cache.c


Log

Author Commit Date CI Message
Stefan Sperling d3c116bf 2021-10-15T09:10:14 cache raw objects in order to speed up gotadmin pack
Christian Weisgerber dbdddfee 2021-06-23T20:48:35 switch from SIMPLEQ to equivalent STAILQ macros The singly-linked tail queue macros were added to OpenBSD 6.9 and are more widely available on other systems. ok stsp
Stefan Sperling f73df793 2020-01-07T21:02:16 increase tag cache size; makes tog more responsive when many tags exist
Stefan Sperling 56e0773d 2019-11-28T02:32:58 convert tree entries from SIMPLEQ to an array
Stefan Sperling 5f25cc85 2019-11-26T22:43:12 remove obj->path_packfile which is unused nowadays; saves a few free() calls
Stefan Sperling 42c69117 2019-11-10T15:51:05 stop storing decompressed delta data in struct got_delta; fetch it on demand
Stefan Sperling a0de39f3 2019-08-09T11:56:24 fix build on OpenBSD/sparc64 (gcc)
Stefan Sperling 79c99a64 2019-05-23T22:24:13 don't leak objects which can't be cached
Stefan Sperling 01cd7614 2019-05-22T14:06:03 add cache debug output for too large elements
Stefan Sperling a60c9e77 2019-05-22T13:48:28 don't cache objects larger than 1MB
Stefan Sperling 2ee32b23 2019-05-15T07:09:37 fix build with -DGOT_OBJ_CACHE_DEBUG
Stefan Sperling 638f9024 2019-05-13T12:40:57 rename got_error_prefix_errno() to got_error_from_errno()
joshua stein 230a42bd 2019-05-11T13:04:38 got_error_from_errno -> got_error_prefix_errno also add got_error_prefix_errno2 and got_error_prefix_errno3 which should hopefully all be merged into a single function with variadic args (but can't alloc mem)
Stefan Sperling f4a881ce 2018-11-17T16:04:05 more support for tag objects; new code is not yet reachable
Stefan Sperling cb103d04 2018-11-07T06:42:26 allow got_object_idset_for_each() to return an error
Stefan Sperling f054b67a 2018-11-05T22:28:03 remove object_idcache; use object_idset instead
Stefan Sperling 507aef8f 2018-11-05T18:57:41 no need to zero object cache entries during allocation
Stefan Sperling d83eb5cd 2018-11-05T18:50:09 make id cache eviction more efficient
Stefan Sperling dab9d9b6 2018-11-05T16:41:53 actually initialize cache struct in got_object_cache_init()
Stefan Sperling 9185b863 2018-11-05T16:30:04 tree cache size can be reduced without harmful effects
Stefan Sperling 9bccfa63 2018-11-05T15:42:42 reduce cache sizes; less memcmp calls during 'got log PATH'
Stefan Sperling 41fa1437 2018-11-05T15:30:15 back out mini-commits; no significant performance difference
Stefan Sperling 710f3f4e 2018-11-05T15:26:18 make got-read-pack pre-seed the main process mini commit cache
Stefan Sperling 05e1230b 2018-11-05T12:42:03 rename got_commit_object_mini to got_mini_commit_object
Stefan Sperling e32baab7 2018-11-05T12:39:49 add an object cache for mini commits
Stefan Sperling 414611d9 2018-09-19T22:03:24 fix off-by-one in commit ref counter printed by check_refcount()
Stefan Sperling 221e79cd 2018-09-16T19:30:04 count object cache searches
Stefan Sperling f4081577 2018-09-15T20:45:42 add a Makefile.inc knob which enables cache debug output
Stefan Sperling 7cf5e9c2 2018-09-15T20:44:10 show process name in cache stats debug output
Stefan Sperling 315fa2b2 2018-09-15T20:19:18 count cache eviction events in cache debug stats
Stefan Sperling cec9c8a2 2018-09-15T20:18:32 bump tree cache size; some operations are doing lots of tree walks
Stefan Sperling 6bef87be 2018-09-11T11:23:44 move object cache out of repository.c to its own file