Skip to content

Conversation

@FurryR
Copy link

@FurryR FurryR commented Sep 24, 2025

Resolves

N/A

Proposed Changes

New feature:

  1. Auto frameloop halting (experimental) - Frameloop may auto stop & resume itself when idle. This works fine with most extensions but it may affect extensions based on setTimeout + _pushThread.
  2. New frameloop based on setImmediate() - For 250+ FPS (to capture DOM events). This feature uses almost all resources to make timeouts more precise. You may experience sudden framedrop (because of Major GC) while using this feature. It should be fine on optimized projects. This feature also breaks DevTool's Performance Tab.

Reason for Changes

N/A

Test Coverage

No test suites are required for this feature. If necessary add a test suite to test runtime.setFramerate(250+).

@CubesterYT
Copy link
Member

Putting this on the back burner till we get next compiler merged

@CubesterYT
Copy link
Member

@FurryR next compiler is merged, I recommend you port over the code to the new compiler now

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.

3 participants