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

orneryd / NornicDB / 27986068029
89%

Build:
DEFAULT BRANCH: main
Ran 22 Jun 2026 09:54PM 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 09:43PM UTC coverage: 88.928% (-0.07%) from 89.002%
27986068029

push

github

orneryd
perf(cypher): add structural expression fast paths

Replace the rejected operator-cache approach with generic expression
fast paths that avoid heavyweight function dispatch for hot predicate
evaluation. Simple leaves, top-level operators, null predicates, and
string predicates now route through allocation-free structural checks
while preserving CASE, quoted literal, array indexing, slicing, and
unknown dotted-expression fallback semantics.

Also make BuildIndexes finish final index persistence before returning,
so admin import with index building does not race temp directory cleanup
or report success before HNSW artifacts are durable.

Results:
- Hot predicate benchmark: ~69 us/op -> ~2.9 us/op
- Speedup: ~23.6x faster
- Allocations: 62 allocs/op -> 0 allocs/op
- Bytes: 1520 B/op -> 0 B/op

365 of 427 new or added lines in 6 files covered. (85.48%)

104 existing lines in 11 files now uncovered.

142094 of 159785 relevant lines covered (88.93%)

1.04 hits per line

Uncovered Changes

Lines Coverage ∆ File
24
81.02
-14.5% pkg/cypher/operators.go
20
86.75
-13.25% pkg/cypher/functions.go
16
86.75
-0.75% pkg/cypher/functions_eval_operators.go
2
46.61
-40.38% pkg/cypher/functions_eval_props_literals.go

Coverage Regressions

Lines Coverage ∆ File
45
46.61
-40.38% pkg/cypher/functions_eval_props_literals.go
28
81.02
-14.5% pkg/cypher/operators.go
8
91.5
-0.69% pkg/nornicdb/db_admin.go
7
84.42
-0.78% pkg/storage/badger_constraint_validation.go
3
86.75
-0.75% pkg/cypher/functions_eval_operators.go
3
81.23
-0.02% pkg/search/search.go
3
87.44
-1.35% pkg/storage/badger_schema.go
2
89.43
-0.13% pkg/cypher/functions_eval_functions.go
2
91.62
-1.05% pkg/linkpredict/hybrid.go
2
86.82
-0.04% pkg/storage/badger_transaction.go
1
88.63
-0.07% pkg/mcp/server.go
Jobs
ID Job ID Ran Files Coverage
1 27986068029.1 22 Jun 2026 09:54PM UTC 478
88.93
GitHub Action Run
Source Files on build 27986068029
  • Tree
  • List 478
  • Changed 17
  • Source Changed 0
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d1b96d4e on github
  • Prev Build on main (#27968388949)
  • Next Build on main (#27991433855)
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