[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ready for Guile 2.2!
From: |
Joshua Branson |
Subject: |
Re: Ready for Guile 2.2! |
Date: |
Fri, 21 Apr 2017 16:05:13 +0000 |
So are you building (aka compiling) libreoffice, certbot, and xmonad in
essentially 2 seconds? That sounds a little too fast...
On 04/20/2017 11:21 AM, Maxim Cournoyer wrote:
> Andy Wingo <address@hidden> writes:
>
>> On Thu 20 Apr 2017 14:35, address@hidden (Ludovic Courtès) writes:
>>
>>> address@hidden (Ludovic Courtès) skribis:
>>>
>>>> ;; 2.724686s real time, 3.117062s run time. 0.880827s spent in GC.
>>>> scheme@(guile-user)> (version)
>>>> $1 = "2.0.13"
>>>>
>>> scheme@(guile-user)> ,use(guix scripts build)
>>> scheme@(guile-user)> ,time (guix-build "libreoffice" "certbot" "xmonad"
>>> "-n" "--no-substitutes" "--no-build-hook")
>>>
>>> [...]
>>>
>>> ;; 1.826528s real time, 1.994426s run time. 0.382750s spent in GC.
>>> scheme@(guile-user)> (version)
>>> $1 = "2.2.1"
>>>
>>> That’s a 33% speedup compared to 2.0.
>> That is a 50% speedup compared to 2.0 :) If we consider its speed as
>> being how many times you could do this per second, then 2.0 speed is
>> 1/2.72, and 2.2.1 speed is 1/1.82. Speed ratio is then
>> 2.72/1.82=1.4945. So 2.2.1 is 1.5x the speed of 2.0, or 50% faster :)
>>
>> Andy, who is not looking for praise, but who likes perf numbers :)
> Impressive :). Is there a blog post/article/information somewhere about
> what went in Guile to make it that faster?
>
> Thank you for your work!
>
> Maxim