commit | cb694714f1427ac9b249d90b2aa8e4e0bc46e972 | [log] [tgz] |
---|---|---|
author | Eric Holk <eholk@google.com> | Thu May 02 13:41:55 2019 -0700 |
committer | Eric Holk <eholk@google.com> | Wed May 22 08:41:21 2019 -0700 |
tree | 564e267281533692be8b064389f79158c9fcc28e | |
parent | c0c7806ec011c33e015509bb5d249938296e31a5 [diff] |
LayoutInflater: Special case well-known View constructors This avoids loading constructors with reflection for well-known View classes. An average of 1300 app startups with and without this change shows the special casing improves app startup time by about 2.5ms. The classes listed here are taken from examining several app traces as well as the similar list in AppCompatViewInflater. Bug: 131421854 Change-Id: I676a50eec50b86fa0b385add4bc092a657d8e8bb