Skip to content

perf(workspace): switching SQL tabs builds up to 8 ms in one frame #985

Closed

Description

@ZhuchkaTriplesix

Summary

Switching SQL editor tabs builds up to 6.8–7.9 ms in one frame (real app, new_tab_and_switch), which does not fit the 144 Hz budget together with raster.

Scope

  • Profile the switch frame (which subtrees rebuild: editor, results, toolbar).
  • Keep inactive tabs' results and editor mounted but not rebuilt; rebuild only the tab strip and the swapped body.
  • Target: < 4 ms build.

Activity

  1. ZhuchkaTriplesix commented on Sep 27, 2026

    @ZhuchkaTriplesix
    MemberAuthor

    Resolved by #994 (already merged into dev; not auto-closed since this repo's default branch is main and PRs merge into dev).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

editorCode/SQL editorperformanceTheme parser epic label: performance

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions