Skip to content

Performance issue in chunkOnModifiedUtf8ByteSize #350

@rciovati

Description

@rciovati

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions