Effect of packing relocations revisited

A couple weeks ago, I was checking how packing relocations affected startup time. Now that we have some additional information about startup, it is time to revisit the startup times with relocations packing, and more precisely, how the time spent before XRE_main is affected.

This time I didn't bother to collect 50 startup times to get more accurate figures, mostly because as of writing, I don't have scripts to gather these data automatically (especially on mobile devices).

Platform time spent before XRE_main without relocations packing (ms) with relocations packing (ms)
GNU/Linux x86 1,362 1,273
GNU/Linux x86-64 1,643 1,318
Maemo 5, n900 1,717 1,427
Android 2.2, HTC Desire 4,250 3,568

All the numbers above were taken after a fresh boot with a more or less recent nightly (n900 was from a week ago, others are from today). The Android number with relocations packing was gotten from a build where it miraculously started without crashing (relocations packing apparently unveils a dynamic linker problem) ; it might be wrong.

2011-01-24 19:10:46+0900

p.m.o

You can leave a response, or trackback from your own site.

Leave a Reply