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

orneryd / NornicDB / 37469235610
89%

Build:
DEFAULT BRANCH: main
Ran 06 Oct 2026 01:30PM UTC
Jobs 1
Files 690
Run time 3min
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

06 Oct 2026 01:14PM UTC coverage: 87.517% (+0.3%) from 87.224%
37469235610

push

github

orneryd
perf(bolt,cypher,storage): cut TCK allocations and coalesce RUN/PULL flushes (#48)

Profile the 3,897-scenario autocommit TCK and tune the pipeline:

- Cache churn: ClearQueryCaches/invalidateNodeLookupCache reuse the
  existing lookup map via clear() instead of rebuilding an eager
  1000-bucket map per write.
- Transaction wrapper seeding: ensureNodeLookupCacheLocked starts with
  a lazy map instead of an eager 1000-bucket table per transaction.
- MVCC head walks: parse iterator keys in place and decode heads into
  one reused scratch buffer (ValueCopy with a growing destination);
  no per-entry key copy or closure allocation. PrefetchValues stays
  off because badger v4.9.6 spawns a goroutine per entry.
- Comprehension validators reuse one scope map across list items.
- Bolt: handleRun defers its SUCCESS flush when a pipelined PULL is
  already queued, so RUN+PULL share one socket write; blocking
  request/response clients still flush immediately.

Measured on Apple M2 Max, autocommit TCK:
- alloc_space 5.38GB -> 3.62GB (-32.8%)
- alloc_objects 80.7M -> 38.2M (-52.7%)
- GC mark/clear CPU 6.5s -> 1.9s across the run
- Both TCK transaction modes pass (autocommit 35.5s, explicit 49.7s);
  pkg/storage, pkg/cypher and pkg/bolt suites green.

Refs #48

40 of 52 new or added lines in 7 files covered. (76.92%)

2600 existing lines in 58 files now uncovered.

177586 of 202917 relevant lines covered (87.52%)

1.03 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
86.58
-0.11% pkg/storage/badger_mvcc.go
2
98.32
-0.37% pkg/cypher/cache.go
2
89.62
-0.29% pkg/cypher/executor.go

Coverage Regressions

Lines Coverage ∆ File
398
77.0
8.58% pkg/cypher/executor_subqueries.go
257
89.13
0.42% pkg/cypher/pipeline_executor.go
254
87.97
1.19% pkg/cypher/clauses.go
242
87.57
0.04% pkg/storage/badger_transaction.go
185
85.04
0.15% pkg/cypher/match_multi.go
152
85.31
0.57% pkg/cypher/create.go
127
84.88
0.15% pkg/cypher/traversal.go
109
86.73
0.81% pkg/cypher/call.go
108
35.61
-0.07% pkg/storage/composite_capabilities.go
91
77.64
-1.24% pkg/cypher/binding_where_compile.go
64
74.82
1.59% pkg/storage/badger_transaction_snapshot_reads.go
49
95.14
0.57% pkg/server/server_graph.go
48
92.9
1.15% pkg/cypher/executor_query_routing.go
41
91.86
-1.26% pkg/cypher/call_apoc_path.go
39
89.32
8.94% pkg/cypher/merge.go
36
95.11
-1.19% pkg/cypher/procedure_registry_builtin.go
29
82.13
4.78% pkg/cypher/procedure_validation.go
27
0.0
-81.82% pkg/cypher/shape_matcher.go
26
88.85
-1.03% pkg/cypher/pipeline_call_operator.go
25
90.53
-0.53% pkg/cypher/call_compat.go
25
82.35
-0.12% pkg/cypher/row_expression.go
24
88.14
-0.47% pkg/cypher/call_vector.go
24
94.81
-0.99% pkg/cypher/pipeline_aggregate_stream.go
20
92.66
0.28% pkg/cypher/create_pipeline_helpers.go
20
95.31
0.3% pkg/cypher/semantic_validation.go
15
96.48
-0.27% pkg/cypher/pipeline_row_stream.go
13
81.55
-5.58% pkg/cypher/linkprediction.go
13
91.22
-8.78% pkg/storage/badger_transaction_staging.go
12
93.45
2.05% pkg/cypher/apoc_algorithms.go
11
89.84
-1.18% pkg/cypher/pipeline_procedure_call.go
10
84.25
0.44% pkg/cypher/pattern_expression.go
8
88.53
-1.03% pkg/cypher/apoc_load_export.go
8
67.74
-12.9% pkg/cypher/call_index_mgmt.go
7
95.04
-0.87% pkg/cypher/call_apoc_helpers.go
6
77.63
0.09% pkg/cypher/match_with_rel.go
6
84.63
-0.63% pkg/cypher/parameters.go
6
76.61
-0.8% pkg/cypher/transaction_storage_wrapper.go
5
95.48
0.01% pkg/cypher/executor_entry.go
5
83.53
-1.89% pkg/cypher/executor_internal.go
5
89.31
0.34% pkg/cypher/label_chain.go
5
91.47
-1.65% pkg/cypher/procedure_call_parsing.go
4
96.55
0.09% pkg/cypher/pipeline_pattern_template.go
4
76.57
-2.29% pkg/cypher/string_literal.go
4
85.71
0.89% pkg/cypher/unwind_routing.go
3
75.62
-0.17% pkg/cypher/executor_mutations.go
3
66.0
1.07% pkg/cypher/executor_mutations_where_eval.go
3
81.82
-1.82% pkg/cypher/functions_helpers.go
3
87.97
-0.38% pkg/cypher/match_semantic_validation.go
3
90.07
-0.99% pkg/temporal/decay_integration.go
2
91.57
-1.2% pkg/cypher/call_apoc_periodic.go
2
89.62
-0.29% pkg/cypher/executor.go
2
94.59
-0.53% pkg/cypher/executor_spans.go
2
90.0
-0.38% pkg/cypher/fastrp.go
2
89.22
0.0% pkg/cypher/map_literal_validation.go
2
91.28
-0.51% pkg/cypher/property_access_semantic_validation.go
2
93.94
-6.06% pkg/cypher/query_stats.go
2
77.42
-6.45% pkg/cypher/three_valued_membership.go
2
91.48
-0.66% pkg/temporal/query_load.go
Jobs
ID Job ID Ran Files Coverage
1 37469235610.1 06 Oct 2026 01:30PM UTC 690
87.52
GitHub Action Run
Source Files on build 37469235610
  • Tree
  • List 690
  • Changed 74
  • Source Changed 0
  • Coverage Changed 74
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 2c257516 on github
  • Prev Build on main (#37377867507)
  • Next Build on main (#37471132099)
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