[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SHA256 performance with Guile 2.2 vs. Guile 3.0
From: |
Ludovic Courtès |
Subject: |
Re: SHA256 performance with Guile 2.2 vs. Guile 3.0 |
Date: |
Mon, 06 Jan 2020 10:37:44 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hi Göran,
Göran Weinholt <address@hidden> skribis:
> I've pushed a Guile-specific version of (hashing fixnums) that inlines
> the generic arithmetic procedures. This and some other small changes
> improved the runtime:
>
> clock utime stime cutime cstime gctime
> before:
> 2.2.6 31.06 32.61 0.03 0.00 0.00 1.38
> 2.9.8 15.55 16.23 0.01 0.00 0.00 1.19
> after:
> 2.2.6 2.95 3.01 0.00 0.00 0.00 0.10
> 2.9.8 1.98 1.99 0.00 0.00 0.00 0.08
Excellent!
> That's about 100 times slower than sha256sum from coreutils. You might
> get some more performance out of it by unrolling the loop in
> sha-256-transform!.
I suppose that’s a challenge for Andy. ;-)
Thanks,
Ludo’.
- SHA256 performance with Guile 2.2 vs. Guile 3.0, Ludovic Courtès, 2020/01/03
- Re: SHA256 performance with Guile 2.2 vs. Guile 3.0, Ludovic Courtès, 2020/01/03
- Re: SHA256 performance with Guile 2.2 vs. Guile 3.0, Andy Wingo, 2020/01/05
- Re: SHA256 performance with Guile 2.2 vs. Guile 3.0, Ludovic Courtès, 2020/01/06
- Re: SHA256 performance with Guile 2.2 vs. Guile 3.0, Andy Wingo, 2020/01/06
- Re: SHA256 performance with Guile 2.2 vs. Guile 3.0, Ludovic Courtès, 2020/01/07
- Re: SHA256 performance with Guile 2.2 vs. Guile 3.0, Andy Wingo, 2020/01/07
- Re: SHA256 performance with Guile 2.2 vs. Guile 3.0, Ludovic Courtès, 2020/01/07