Skip to content

feat: nucleusOptimization startup pack - #639

Open
kdroidFilter wants to merge 4 commits into
nucleus-2.6from
feat/nucleus-optimization
Open

feat: nucleusOptimization startup pack#639
kdroidFilter wants to merge 4 commits into
nucleus-2.6from
feat/nucleus-optimization

Conversation

@kdroidFilter

Copy link
Copy Markdown
Collaborator

Summary

Adds nucleusOptimization, a one-switch startup/runtime performance pack, rebased on nucleus-2.6.

  • nucleusOptimization startup pack (plugin) — bundles the launcher JVM options that pay off for a desktop app's startup.
  • Per-knob DSL — every knob in the pack can be toggled individually instead of all-or-nothing.
  • Idle GC (nucleus-application) — when the pack is on, windows and dialogs observe activity and trigger a GC once the app goes idle, so a backgrounded app gives memory back. Wired through the shared bindNucleusContent / bindNucleusDialogContent helpers introduced by the satellite/tab work, so decorated windows, dialogs, tabs and satellites all get it.
  • lastJdk — packaging can auto-download the current OpenJDK instead of pinning a toolchain by hand.

Test plan

  • IdleGcControllerTest, ApplyNucleusOptimizationTest, NucleusJdkToolchainProvisionerTest
  • :nucleus-application:compileKotlin clean after the rebase

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.

1 participant