[Dev] Tizen 3.0 : Optimizing applications launch time

Łukasz Stelmach l.stelmach at samsung.com
Tue Oct 22 07:50:49 GMT 2013


It was <2013-10-21 pon 16:56>, when Stéphane Desneux wrote:
> On 21/10/2013 14:26, Łukasz Stelmach wrote:
>> It was <2013-10-21 pon 12:51>, when Stéphane Desneux wrote:
>>> I found the lib responsible for the extra 1.2GB on tizen/common: it's
>>> /usr/lib64/libewebkit2.so . Other libs are not that big, stripped or
>>> not. => some specific fitness program should be applied on this lib
>>> :-)
>>
>> Could you please check with readelf(1) which sections take some much
>> space?
>
> I have made 3 tests with readelf (see attached results):
> - on the original lib (not stripped)
>   * file size: 1269 MB
>   * results in libewebkit2_nonstripped.txt
> - on the same lib stripped with 'strip --strip-debug':
>   * file size: 40.8 MB
>   * results in libewebkit2_stripdebug.txt
> - on the lib stripped with 'strip --strip-all':
>   * file size: 32.6 MB
>   * results in libewebkit2_stripped.txt
>
> The 1296 MB are composed of:
> - 32.6 MB of code/data (and related sections)
> - 8.2 MB of symbols (sections .symbtab and .strtab)
> - 1228.2 MB in debug sections (.debug_*)

If the file in /usr/lib is not properly stripped it might mean there is
a problem with the find-debuginfo.sh script

https://review.tizen.org/git/?p=platform/upstream/rpm.git;a=blob;f=scripts/find-debuginfo.sh;h=c73f06bf0c9432f999174a40f13c5efe11a43cb0;hb=HEAD

-- 
Łukasz Stelmach
Samsung R&D Institute Poland
Samsung Electronics
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <http://lists.tizen.org/pipermail/dev/attachments/20131022/e0478c2b/attachment.sig>


More information about the Dev mailing list