Skip to content

perf(tauri): cut query/grid realloc churn + store Map upserts #1966

Closed

Description

@ZhuchkaTriplesix

Why

Audit: each query batch does rows.concat + replaces Pinia rows + ResultGrid { deep: true } remounts React. Sidebar upserts rebuild whole arrays/Maps; Rust batch loses capacity after mem::take.

Scope

  1. In-place row accumulator + stable rows + shallow grid watch (revision/rowCount)
  2. Incremental connections Map / in-place upsert; memo filterTree; mutate sqlBuffers; expanded as Set
  3. Rust: batch.reserve after take; cheaper Text → JSON

Parent: #1843

Activity

  1. added a commit that references this issue on Nov 15, 2026
  2. ZhuchkaTriplesix commented on Nov 15, 2026

    @ZhuchkaTriplesix
    MemberAuthor

    Landed on epic/tauri-migration.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    frontendTheme parser epic label: frontendperformanceTheme parser epic label: performance

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions