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

orneryd / NornicDB / 28059918008
89%

Build:
DEFAULT BRANCH: main
Ran 23 Jun 2026 10:09PM 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

23 Jun 2026 09:58PM UTC coverage: 88.468% (-0.006%) from 88.474%
28059918008

push

github

orneryd
perf(storage): cache MVCC current-head node body decodes

Add a Badger item-version-tagged node body cache for GetNodeVisibleAt's
current-head fast path. Repeated entity-resolution reads now avoid
re-decoding the same full node payload, including large vector properties,
while preserving MVCC snapshot isolation by requiring the cached body version
to match the primary Badger item version observed by the read transaction.

BenchmarkBadgerEngine_GetNodeVisibleAt_CurrentHeadGraphitiVector:
  Before: 21,457 ns/op, 29,080 B/op, 37 allocs/op
  After:   2,008 ns/op, 10,784 B/op, 23 allocs/op

Adds regression coverage for cache copy safety, update invalidation, and
historical-version reads.

32 of 43 new or added lines in 3 files covered. (74.42%)

19 existing lines in 6 files now uncovered.

142698 of 161299 relevant lines covered (88.47%)

1.03 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
90.05
-1.21% pkg/storage/badger_cache.go
3
81.4
-0.07% pkg/storage/badger_mvcc.go

Coverage Regressions

Lines Coverage ∆ File
7
84.42
-0.78% pkg/storage/badger_constraint_validation.go
5
91.67
-0.43% pkg/nornicdb/db_admin.go
2
89.12
0.0% pkg/cypher/match_rows.go
2
90.79
-0.66% pkg/cypher/optimized_executors.go
2
81.26
0.02% pkg/search/search.go
1
86.78
-0.04% pkg/storage/badger_transaction.go
Jobs
ID Job ID Ran Files Coverage
1 28059918008.1 23 Jun 2026 10:09PM UTC 478
88.47
GitHub Action Run
Source Files on build 28059918008
  • Tree
  • List 478
  • Changed 15
  • Source Changed 0
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 15681a71 on github
  • Prev Build on main (#28048636716)
  • Next Build on main (#28060507394)
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