Re: Ugly/slow startup
- On 20.12.2006, at 16:10, James Hague wrote:
>> How long does it actually take to start? Have you got a long .vimrcI actually redid my test and a warm start (vim already in disk cache)
> ~3 seconds on a recent MacBook (2GHz). On my Windows PC, it's ~0.5
> seconds. So it's not slow slow, but not snappy either. It's the same
> 158 line .vimrc file on both machines.
it took just 1.6s-2s (with/without 100 line .vimrc), I'm not sure why
the difference to yesterday, maybe I've changed energy settings or
have less other programs running.
MacBook being slower than my G4 is surprising. Even given that
your .vimrc is longer than mine I was expecting the start time to be
much faster on Intel. I'm probably going to look at it as soon as I
get my hands on an Intel Mac, unfortunately that will take some time :(
In the mean time you could try to check if an empty .vimrc file makes
any significant difference. If it does there's some OS X specific
speed problems with the startup and we could look into that. If not
it's some bigger thing :(
Vim uses some older APIs that could (in theory) make even startup
slower on Intel machines but that's just another guess.
> I'm pretty sure I stripped the PPC code after I downloaded it, butHaving PPC code there should not do any harm as long as the OS does
> I'll double check.
not start it as PPC application. But if it is even removed then my
guess about Rosetta was not correct.
Jussi Hagman, jhagman@..., iChat/AIM: jussihagman, ICQ: 54004113
Studentbyn 4 D 33, 20540 Åbo, Finland +358 50 56 51 170
> MacBook being slower than my G4 is surprising. Even given thatI played with this a bit last night. The ~3 second start is only the
> your .vimrc is longer than mine I was expecting the start time to be
> much faster on Intel. I'm probably going to look at it as soon as I
> get my hands on an Intel Mac, unfortunately that will take some time :(
when vim hasn't been run recently (isn't cached, etc). After that
it's real quick: easily less than 0.5 seconds. I rarely notice this,
because I tend to start up vim once and just keep using it. But even
the 3 second initial start pales in comparison with the usefulness of
having vim on the Mac :)