Skip to content

⚡ Performance optimizations#1065

Merged
MrKai77 merged 19 commits intodevelopfrom
mrkai77/perf-optimizations
Apr 5, 2026
Merged

⚡ Performance optimizations#1065
MrKai77 merged 19 commits intodevelopfrom
mrkai77/perf-optimizations

Conversation

@MrKai77
Copy link
Copy Markdown
Owner

@MrKai77 MrKai77 commented Mar 9, 2026

  • Makes WindowRecords an actor, to prevent concurrent calls from crashing the app
  • Made short-term static properties of Window cached inside a snapshot to prevent repeated calls that yield the same value (e.g. frame, isResizable)
  • Updated codebase to work with the above changes accordingly (lots of async/await additions)
  • Cleaned up some unused code

@MrKai77 MrKai77 self-assigned this Mar 9, 2026
@MrKai77 MrKai77 force-pushed the mrkai77/perf-optimizations branch from 4f136b6 to 518398d Compare March 10, 2026 00:03
@github-actions
Copy link
Copy Markdown
Contributor

🚧 Development Build Finished

@MrKai77 MrKai77 force-pushed the mrkai77/perf-optimizations branch 3 times, most recently from 4d9172b to 93c2c55 Compare March 11, 2026 23:13
@github-actions
Copy link
Copy Markdown
Contributor

🚧 Development Build Finished

@MrKai77 MrKai77 force-pushed the mrkai77/perf-optimizations branch from d3dee0c to 0e593af Compare March 12, 2026 00:04
@github-actions
Copy link
Copy Markdown
Contributor

🚧 Development Build Finished

@github-actions
Copy link
Copy Markdown
Contributor

🚧 Development Build Finished

@MrKai77 MrKai77 force-pushed the mrkai77/perf-optimizations branch 2 times, most recently from 99d28a5 to aa2ea8f Compare March 20, 2026 06:52
@github-actions
Copy link
Copy Markdown
Contributor

🚧 Development Build Finished

@MrKai77 MrKai77 force-pushed the mrkai77/perf-optimizations branch 2 times, most recently from 2d5965f to b91afe1 Compare March 22, 2026 20:04
@MrKai77 MrKai77 force-pushed the mrkai77/perf-optimizations branch from b91afe1 to 7ffad4b Compare March 31, 2026 04:50
@MrKai77 MrKai77 marked this pull request as draft April 4, 2026 20:30
@MrKai77 MrKai77 force-pushed the mrkai77/perf-optimizations branch from 7ffad4b to 61b8d28 Compare April 5, 2026 00:00
@MrKai77 MrKai77 requested a review from SenpaiHunters April 5, 2026 00:27
@MrKai77 MrKai77 marked this pull request as ready for review April 5, 2026 00:27
@MrKai77 MrKai77 force-pushed the mrkai77/perf-optimizations branch from d855655 to 907abd7 Compare April 5, 2026 00:36
Copy link
Copy Markdown
Collaborator

@SenpaiHunters SenpaiHunters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've had it running for the past three hours. I don't see any significant issues, such as major breaks or anything that restricts my workflow, nor have I noticed any sudden spikes while running it through instruments. I believe it's ready for a development release. You can either keep this branch and push a build from it or merge it with the main development branch. It's up to you, @MrKai77.

@MrKai77 MrKai77 merged commit e21d282 into develop Apr 5, 2026
1 check passed
@MrKai77 MrKai77 deleted the mrkai77/perf-optimizations branch April 5, 2026 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants