diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2024-09-25 22:37:10 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2024-09-25 22:37:10 -0700 |
commit | fbea59225cdf42b2cbb2970895fb764758b94ce2 (patch) | |
tree | f633533aa696ad0cbea64c5b0d5738eee802930b /Makefile | |
parent | create-squashfs-snapshot: add timestamps and diff success (diff) | |
download | mastermirror-scripts-fbea59225cdf42b2cbb2970895fb764758b94ce2.tar.gz mastermirror-scripts-fbea59225cdf42b2cbb2970895fb764758b94ce2.tar.bz2 mastermirror-scripts-fbea59225cdf42b2cbb2970895fb764758b94ce2.zip |
create-squashfs-snapshot: major speedups20240926T054112Z
The old code was slowly building up more and more files, and re-running
checksums of ALL files every pass.
As of 2024/09/25 the full runtime was approaching 134 seconds of which
113 seconds was just the SHA512 re-running over ALL files.
Instead of re-running over all files, produce and KEEP a dated signed
checksum for each day's binary artifacts - then at the end, combine them
with signature verification into the old style of file, so that existing
tools keep working.
Old runtime: 134 seconds
New runtime: 21 seconds
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions