DeepLinkDispatch icon indicating copy to clipboard operation
DeepLinkDispatch copied to clipboard

Performance issue in chunkOnModifiedUtf8ByteSize

Open rciovati opened this issue 2 years ago • 0 comments

While debugging some built time issues in our codebase I noticed that DeepLinkProcessor takes a suspiciously high amount of time (in our case 3x than Dagger). I grabbed a trace with YourKit and, if I'm reading it correctly, the processor is spending most of its time in chunkOnModifiedUtf8ByteSize.

Screen Shot 2022-06-24 at 13 38 19

Screen Shot 2022-06-24 at 13 45 03

We're not using ksp yet but it seems to me that this code path is shared between the apt and ksp so I suspect the issue exists there too.

rciovati avatar Jun 24 '22 11:06 rciovati