guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SHA256 performance with Guile 2.2 vs. Guile 3.0


From: Brendan Tildesley
Subject: Re: SHA256 performance with Guile 2.2 vs. Guile 3.0
Date: Sat, 4 Jan 2020 17:21:42 +1100

> Still far from the libgcrypt implementation in C + asm, but hey!

Actually guix hash is still a lot slower than using the sha256sum cli tool. For me 7x faster for the guile tarball, and 4x faster for a 700MiB file. Maybe because guile opens a file with it's ports and feeds it to libgcrypt. If guix is heavy relying on hashing files stored in the filesystem, maybe it would be better to directly use sha256sum or perhaps libgcrypt has a function do open a file and hash it on it's own?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]