libcef.so size increase of almost 40%

Think CEF could benefit from a new feature or capability? Discuss CEF feature requests here.

libcef.so size increase of almost 40%

Postby Mayhew » Mon Sep 24, 2018 1:59 pm

I was looking into updating from 3.3396 to 3.3497 and noticed a large size increase in libcef.so on Linux.

cef_binary_3.3396.1785.ga27bbfa_linux64
debug/libcef.so size 589,684,400 bytes
release/libcef.so size 518,562,224 bytes

cef_binary_3.3497.1833.g13f506f_linux64
debug/libcef.so size 831,026,232 bytes (+41%)
release/libcef.so size 707,683,368 bytes (+36%)

There doesn't seem to be a similar size increase in Chrome itself. Is there any reason for this increase in CEF itself?
Mayhew
Expert
 
Posts: 288
Joined: Mon Apr 18, 2011 8:02 pm

Re: libcef.so size increase of almost 40%

Postby magreenblatt » Mon Sep 24, 2018 2:29 pm

Are you stripping symbols from the binaries with the 'strip' tool?
magreenblatt
Site Admin
 
Posts: 9848
Joined: Fri May 29, 2009 6:57 pm

Re: libcef.so size increase of almost 40%

Postby Mayhew » Mon Sep 24, 2018 2:35 pm

Are you stripping symbols from the binaries with the 'strip' tool?


No, this is just from the Spotify builds, not from my local builds. Maybe the Spotify builds suddenly stopped doing this?
Mayhew
Expert
 
Posts: 288
Joined: Mon Apr 18, 2011 8:02 pm

Re: libcef.so size increase of almost 40%

Postby magreenblatt » Mon Sep 24, 2018 2:55 pm

Spotify builds have never been stripped. It's possible that the quantity of the debug info has changed. I suggest stripping binaries of both versions and comparing the results. There should be some minor increase with the newer binaries due to increased features over time. You can reference the % increase in other platform binaries (win/mac) for sanity-checking/comparison purposes.
magreenblatt
Site Admin
 
Posts: 9848
Joined: Fri May 29, 2009 6:57 pm

Re: libcef.so size increase of almost 40%

Postby Mayhew » Mon Sep 24, 2018 3:39 pm

Is the strip tool used by the automated cef build process? I ask because I'm trying to determine the best settings to use.
Mayhew
Expert
 
Posts: 288
Joined: Mon Apr 18, 2011 8:02 pm

Re: libcef.so size increase of almost 40%

Postby magreenblatt » Tue Sep 25, 2018 4:56 am

No, you should run the strip tool as part of your application packaging/distribution. Otherwise, you probably want the symbols for debugging purposes.
magreenblatt
Site Admin
 
Posts: 9848
Joined: Fri May 29, 2009 6:57 pm


Return to Feature Request Forum

Who is online

Users browsing this forum: No registered users and 1 guest