[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Speeding up Emacs load time
From: |
Dan Espen |
Subject: |
Re: Speeding up Emacs load time |
Date: |
Fri, 28 Jun 2013 10:16:53 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) |
david@adboyd.com (J. David Boyd) writes:
> david@adboyd.com (J. David Boyd) writes:
>
>> Bob Proulx <bob@proulx.com> writes:
>>
>>>
>>> Timings from my system after much optimization.
>>>
>>> $ time emacs -f kill-emacs
>>> real 0m0.157s
>>> user 0m0.140s
>>> sys 0m0.012s
>>> $ time emacs -q -f kill-emacs
>>> real 0m0.137s
>>> user 0m0.116s
>>> sys 0m0.016s
>>> $ time emacs -Q -f kill-emacs
>>> real 0m0.051s
>>> user 0m0.028s
>>> sys 0m0.020s
>>>
>>> Bob
>>
>>
>> Here's mine at present. I'll have to work at it and see if I can approach
>> your times...
>>
>>
>> $ time emacs -f kill-emacs
>>
>> real 0m23.400s
>> user 0m7.199s
>> sys 0m9.500s
>>
>> $ time emacs -q -f kill-emacs
>>
>> real 0m1.710s
>> user 0m1.170s
>> sys 0m0.249s
>>
>> $ time emacs -Q -f kill-emacs
>>
>> real 0m1.680s
>> user 0m1.201s
>> sys 0m0.217s
>
>
> After some minor tweaking, I got it down to
>
> real 0m11.623s
> user 0m5.439s
> sys 0m4.451s
>
>
> I can live with that for a while. Getting it any faster would take a lot of
> tweaking that I don't have time for right now.
>
> Thanks for the thread. 11 seconds is much better than 24!
Don't know if anyone has pointed out that your first test is going to be
dramatically slower than subsequent tests:
home> time emacs -Q -f kill-emacs
real 0m6.582s
user 0m0.409s
sys 0m0.109s
home> time emacs -Q -f kill-emacs
real 0m0.500s
user 0m0.385s
sys 0m0.062s
--
Dan Espen
Message not available
- Re: Speeding up Emacs load time, Emanuel Berg, 2013/06/28
- Re: Speeding up Emacs load time, Eric Abrahamsen, 2013/06/29
- Re: Speeding up Emacs load time, Bob Proulx, 2013/06/29
- Message not available
- Re: Speeding up Emacs load time, Rustom Mody, 2013/06/29
- Re: Speeding up Emacs load time, Eric Abrahamsen, 2013/06/29
- Re: Speeding up Emacs load time, Emanuel Berg, 2013/06/30
- Re: Speeding up Emacs load time, Eric Abrahamsen, 2013/06/30
- Re: Speeding up Emacs load time, Rustom Mody, 2013/06/30
- Re: Speeding up Emacs load time, Emanuel Berg, 2013/06/30