• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

orneryd / NornicDB / 27991433855
89%

Build:
DEFAULT BRANCH: main
Ran 22 Jun 2026 11:47PM UTC
Jobs 1
Files 478
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Jun 2026 11:36PM UTC coverage: 88.947% (+0.02%) from 88.928%
27991433855

push

github

orneryd
perf(cypher): cache keyword scans and narrow stale index fallback

Add a bounded cache for default Cypher keyword scans so repeated query
execution avoids re-scanning identical clause-routing text. This reduces
Graphiti-style retrieval overhead where repeated prepared query shapes were
spending most CPU in keywordIndexFromDefault.

Also tighten the generic UNWIND batch match paths so partially stale property
indexes only trigger label scans for unresolved distinct values. Successful
index hits are preserved instead of replacing the whole batch lookup with a
scan-built map.

Changes:
- Cache default keyword scan results with a bounded map
- Preserve indexed match hits in relationship merge batches
- Preserve indexed match hits in multi-match-create batches
- Add regression coverage for incomplete indexed MATCH buckets

Benchmarks:
- Graphiti node similarity: ~14.3us/op -> ~6.8us/op
- Graphiti edge similarity: ~21.0us/op -> ~11.9us/op
- Graphiti chunk similarity: ~12.3us/op -> ~6.1us/op

33 of 33 new or added lines in 3 files covered. (100.0%)

11 existing lines in 6 files now uncovered.

142143 of 159807 relevant lines covered (88.95%)

1.04 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
87.86
-0.37% pkg/search/hnsw_index.go
2
89.14
-0.3% pkg/cypher/match_rows.go
2
81.26
0.02% pkg/search/search.go
1
68.38
0.15% pkg/cypher/unwind_relationship_merge_batch.go
1
96.39
-0.3% pkg/nornicdb/apoc_storage_adapter.go
1
86.86
0.04% pkg/storage/badger_transaction.go
Jobs
ID Job ID Ran Files Coverage
1 27991433855.1 22 Jun 2026 11:47PM UTC 478
88.95
GitHub Action Run
Source Files on build 27991433855
  • Tree
  • List 478
  • Changed 14
  • Source Changed 0
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • ef197e13 on github
  • Prev Build on main (#27986068029)
  • Next Build on main (#27995462246)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc