Skip to content

perf(sembast): optimize batch operations and queries#426

Merged
1-leo merged 1 commit intomasterfrom
perf/sembast-batch-queries
Feb 18, 2026
Merged

perf(sembast): optimize batch operations and queries#426
1-leo merged 1 commit intomasterfrom
perf/sembast-batch-queries

Conversation

@nogringo
Copy link
Collaborator

@nogringo nogringo commented Feb 7, 2026

  • Use batch get for loadMetadatas and loadNip05s (N queries → 1)
  • Filter searchMetadatas at query level instead of in-memory
  • Use batch put for all save*s methods (N puts → 1)

- Use batch get for loadMetadatas and loadNip05s (N queries → 1)
- Filter searchMetadatas at query level instead of in-memory
- Use batch put for all save*s methods (N puts → 1)
@nogringo nogringo self-assigned this Feb 7, 2026
@codecov
Copy link

codecov bot commented Feb 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.12%. Comparing base (4b0e8a5) to head (5d14488).
⚠️ Report is 68 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #426   +/-   ##
=======================================
  Coverage   75.12%   75.12%           
=======================================
  Files         144      144           
  Lines        5741     5741           
=======================================
  Hits         4313     4313           
  Misses       1428     1428           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@nogringo nogringo requested review from 1-leo and frnandu February 7, 2026 15:51
Copy link
Contributor

@1-leo 1-leo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should merge #384 into master and then master => perf/sembast-batch-queries

@1-leo 1-leo merged commit 07bef71 into master Feb 18, 2026
3 checks passed
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