Fixed
Status Update
Comments
ze...@google.com <ze...@google.com> #2
Any update on this? This is a major blocker as we cannot run any androidTest under library projects/modules
ap...@google.com <ap...@google.com> #3
Hi there, thank you for your patience.
Could you please attach a sample project that shows this issue? Or please explain where and how the resource is defined and referenced.
Could you please attach a sample project that shows this issue? Or please explain where and how the resource is defined and referenced.
ap...@google.com <ap...@google.com> #4
Sample project is linked in #1, along with a repro step. Is anything still missing?
ap...@google.com <ap...@google.com> #5
Ah I missed that, thanks for pointing it out. I'll check it out and keep you updated.
Description
The resolution of b/151804585 did not introduce a new field backing, thus lookups within a class are linear search in the field arrays. This has noticeable performance impact witnessed in b/264430795
Using the dump information provided in b/264430795 , the initial regression came with CLs:
With the bottom CL being fairly equal in runtime to the original report at version 2.0.99.
Total regression is about ~1.5min on a previously 4.5min build (increase of about 33% in compiletime).
We should introduce a (potentially) hash-map based field collection backing mirroring the backing for methods.