Skip to content

[RFC] SwiftUI sample applications #26

@vanvoorden

Description

@vanvoorden

Conceptually… I can sort of understand how this macro might improve SwiftUI performance. But I don't believe I can actually see this impact for myself. The original essay from @calda references a 15 percent reduction in hitches in the Airbnb app… but I don't actually see an open source repo ready for me to see that kind of performance improvement for myself.

I think an impactful resource for product engineers would be a Samples directory containing SwiftUI sample apps that show off demo projects with and without this optimization applied. Engineers can then run those in Instruments to see for themselves why this macro package is impactful.

These sample apps are also good to have for baselines. If an engineer attempts to adjust the algorithm we use to determine what order the == operators are applied across stored instance properties we do not really have data ready to see why those changes would be correct.

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