Skip to content

High CPU load even if hidden #3

Open
@denis-obukhov

Description

@denis-obukhov

Hi. If I have a view like this:

	@ViewBuilder var listView: some View {
		if isLoading {
			skeletonView.shimmer()
		} else {
			listView
		}
	}

Then even if isLoading is false is still consumes CPU. The more cells the more consumption. I have about 36% on my iPhone 11 even if there's no shimmering view on screen. If remove shimmering then CPU load is 0%.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions