Skip to content

[Performance] Improve indexing responsiveness #2

Description

@d2anamaria

Implement:

Run indexing in background (don’t block UI)
Use 2 SQLite connections (indexing vs search)

Key tradeoff to consider:

One big transaction
→ fastest (SQLite optimized)
→ results visible only after finish
Multiple/batched transactions (e.g. 100 files)
→ partial results visible during indexing
→ slightly slower

Also:
Remove per-file logs
Skip very large files
Optionally skip probeContentType

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions