xbps/tests/libxbps
Juan RP 068cab8d20 libxbps: performance improvements by caching the most accessed paths.
1- We can cache the result of the first xbps_pkgdb_init() when it fails
   and avoid the malloc/free/access from it.
2- We cache the uname(2) result into a private var in xbps_handle and
   use it in xbps_pkg_arch_match().

This improves performance by ~5% approx and it's close as it was before
introducing the repository index format 1.5.
2012-06-15 15:33:11 +02:00
..
cmpver Commit Kyua/ATF test suite for libxbps. 2012-03-12 15:23:04 +01:00
common Remove plist_find_virtualpkg_conf tests, supersed by find_pkg. 2012-03-13 11:34:45 +01:00
find_pkg tests: update libxbp/find_pkg tests for new API changes. 2012-06-14 08:27:10 +02:00
pkgpattern_match Commit Kyua/ATF test suite for libxbps. 2012-03-12 15:23:04 +01:00
plist_array_replace tests: drop trailing whitespaces. 2012-03-12 15:35:53 +01:00
plist_find_array libxbps: performance improvements by caching the most accessed paths. 2012-06-15 15:33:11 +02:00
plist_find_dictionary libxbps: performance improvements by caching the most accessed paths. 2012-06-15 15:33:11 +02:00
plist_match libxbps: require an underscore in strings to detect correctly pkgname/version. 2012-06-05 10:58:39 +02:00
plist_match_virtual tests: drop trailing whitespaces. 2012-03-12 15:35:53 +01:00
plist_remove libxbps: performance improvements by caching the most accessed paths. 2012-06-15 15:33:11 +02:00
util libxbps: require an underscore in strings to detect correctly pkgname/version. 2012-06-05 10:58:39 +02:00
Makefile Remove plist_find_virtualpkg_conf tests, supersed by find_pkg. 2012-03-13 11:34:45 +01:00
Makefile.inc Commit Kyua/ATF test suite for libxbps. 2012-03-12 15:23:04 +01:00