Skip to content

Performance optimization#36

Merged
dkk merged 3 commits into
mainfrom
feature/performance-optimization
Dec 3, 2022
Merged

Performance optimization#36
dkk merged 3 commits into
mainfrom
feature/performance-optimization

Conversation

@dkk

@dkk dkk commented Dec 3, 2022

Copy link
Copy Markdown
Owner

Performance tests results:

  • Same funtionality with HStack and fixed items per line: 28 seconds
  • WrappingHStack before: 44 seconds
  • WrappingHStack after this optimizations: 30 seconds

I don't trust Xcode's performance tests on UI that much, but trusting my own perception: performance has greatly improved and is now quite similar to the performance of using HStack passing fixed items per line.

Fixes #34 & #4 (finally!)

@dkk dkk merged commit 9f5f586 into main Dec 3, 2022
@dkk dkk deleted the feature/performance-optimization branch December 3, 2022 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WrappingHStack causes high CPU usage

1 participant