[sldev] Optimizing load time.
James Cook
james at lindenlab.com
Mon May 21 13:58:33 PDT 2007
The MD5 calls may be something as dumb as repeatedly MD5-ing the
password every frame at the login screen.
These options speed up startup time for developers:
-noaudio
Skip audio library initialization, which on Windows takes a couple seconds
-noquicktime
Skip QuickTime initialization, which takes several seconds due to DLL
loading.
-nopreload
Skip UI texture decompression, makes buttons look wonky for a while but
saves a few seconds
-noprobe
Skips DirectX hardware probe to determine available VRAM. Causes VRAM
setting to default to 512 MB but that doesn't matter for simple scenes.
James
Dale Glass wrote:
> В сообщении от 17 мая 2007 06:27 Alan Grimes написал(a):
>> I did a profile run where I loaded the client in the profiler,
>> waited for the welcome screen to come up, then selected quit...
>>
>> I was surprised to find that class LLMD5 was eating 41% of the
>> CPU!! =P
>
> This is probably irrelevant in the bigger scheme of things.
>
> The viewer checksums itself as a part of the startup. IIRC this is
> used to send the hash to LL, presumably to have a way of identifying
> the exact version running.
>
> I'm not sure if it does MD5 on anything else after that, but this
> specific case wouldn't be really very relevant as it's done only once
> on startup. And since you only got as far as the login screen you
> have very skewed statistics, since not all that much needs to happen
> to get to it.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Click here to unsubscribe or manage your list subscription:
> /index.html
More information about the SLDev
mailing list