Skip to content

Conversation

@poneciak57
Copy link
Contributor

@poneciak57 poneciak57 commented Oct 9, 2025

Closes RNAA-267

Improved performance of worklet runner.

  • Moved all running logic to the WorkletsRunner.
  • Moved worklet deserialization into jsi::Function to constructor
  • decreased multiple locks when running
  • removed locking the runtime when we own the runtime (for AudioRuntime)

⚠️ Breaking changes ⚠️

Introduced changes

  • significantly improved worklet based nodes performance

Checklist

  • Linked relevant issue
  • Updated relevant documentation
  • Added/Conducted relevant tests
  • Performed self-review of the code
  • Updated Web Audio API coverage
  • Added support for web

@poneciak57 poneciak57 merged commit 2d11b56 into main Oct 20, 2025
3 checks passed
maciejmakowski2003 pushed a commit that referenced this pull request Oct 22, 2025
* feat: encanced worklet runner impl

* feat: integrated improved runner

* fix: fixed tests

* fix: keeping ownership of runtime in C++

* chore: formatting

* chore: neatpicks
@maciejmakowski2003 maciejmakowski2003 deleted the feat/worklet-runner-performance-issue branch October 24, 2025 11:27
@mdydek mdydek added the feature New feature label Nov 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants