New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 755575 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Oct 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug

Blocked on:
issue 735858

Blocking:
issue 725019
issue 765118



Sign in to add a comment

How many methods will the support library add to apps?

Project Member Reported by gsennton@chromium.org, Aug 15 2017

Issue description

Once we have a support library prototype we should ensure the number of methods it contributes, when compiled into an app, is reasonable. If not, we should communicate this to developers (and point them to proguard / multi-dex).
 
Status: Available (was: Unconfirmed)
Blocking: 765118
See  crbug.com/758615#c11  and  crbug.com/758615#c15 

there are cirka 1100 methods in android.webkit that would make it into the support library, and ca 80 of those methods were added since L.
when I write "since L" I mean between L and O-MR1
Right, so we have the numbers. IMO 80 methods doesn't sound too bad, though the support library itself will multiply that number by some small constant (<5) because of corresponding interfaces/plumbing.

I guess we might add 20-30 methods per year, which in 5 years would mean 100-150 methods, multiply that by 3 (for support library plumbing), and we have 300-500 methods added to the app. Though I would assume proguard can remove any methods not used by the app itself. Does that sound reasonable?

Comment 6 by torne@chromium.org, Oct 24 2017

Yeah, that's unlikely to be a problem for anyone.
Owner: gsennton@chromium.org
Status: Fixed (was: Available)
Cool, I'm marking this as fixed. We might wanna revisit again after we have a finished version of the support library.

Sign in to add a comment