Contributed by rueda on from the cache-me-if-you-can dept.
In -current, the performance of
pkg_add(1)
has been greatly enhanced by the
enabling of caching by default:
CVSROOT: /cvs Module name: src Changes by: espie@cvs.openbsd.org 2022/04/29 04:44:05 Modified files: usr.sbin/pkg_add/OpenBSD: PackageLocation.pm usr.sbin/pkg_add/OpenBSD/PackageRepository: Cache.pm Installed.pm Log message: finally, turn on caching by default change the defines: TEST_CACHING -> !NO_CACHING TEST_CACHING_VERBOSE -> CACHING_VERBOSE TEST_CACHING_RECHECK -> CACHING_RECHECK okay with sthen@
(Comments are closed)
By Nick H (Nick_H) on
This is a great change! I regularly update my X1 to the latest snapshots and then update the packages - what used to take around 5 minutes with pkg_add now takes about 40 seconds. Thank you!
Comments
By Amit Kulkarni (amitkulz) on
Wowwwww, tremendous speedup. And usually when it has no updates, it completes in like 5 seconds!
Thanks