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

freeeve / tinykvs
81%

Build:
DEFAULT BRANCH: main
Repo Added 15 Jan 2026 05:33AM UTC
Files 29
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

LAST BUILD ON BRANCH main
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • main

21 Jan 2026 04:12PM UTC coverage: 81.225% (+0.1%) from 81.104%
21216934348

push

github

freeeve
perf(cache): add reference counting to reduce GC pressure

Add reference counting to Block struct so evicted cache blocks
return their buffers to the pool immediately instead of waiting
for GC. This reduces garbage creation by ~33% under cache pressure.

Changes:
- Add IncRef/DecRef methods to Block with atomic refcount
- Cache.Get increments refcount for caller
- Cache eviction/removal calls DecRef to release reference
- Readers properly DecRef blocks when done
- Remove fromCache tracking (no longer needed)

60 of 68 new or added lines in 4 files covered. (88.24%)

5 existing lines in 1 file now uncovered.

6710 of 8261 relevant lines covered (81.23%)

396936.53 hits per line

Relevant lines Covered
Build:
Build:
8261 RELEVANT LINES 6710 COVERED LINES
396936.53 HITS PER LINE
Source Files on main
  • Tree
  • List 29
  • Changed 5
  • Source Changed 4
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
21216934348 main perf(cache): add reference counting to reduce GC pressure Add reference counting to Block struct so evicted cache blocks return their buffers to the pool immediately instead of waiting for GC. This reduces garbage creation by ~33% under cache pre... push 21 Jan 2026 04:17PM UTC freeeve github
81.23
21198750949 main feat: add minlz compression and refactor CLI for testability - Add minlz as compression option with 3 levels (fastest/balanced/smallest) - Make minlz the default compression (3x faster than zstd, similar ratio) - Refactor CLI into testable struct... push 21 Jan 2026 05:48AM UTC freeeve github
81.1
21190741472 main test: improve coverage for core and shell packages Add tests for: - ZeroCopy functions (GetMapZeroCopy, GetStructZeroCopy, ScanPrefix*ZeroCopy) - GetStruct generic function - setNumericOrPrimitive helper - ExplainPrefix and findPrefixInTable - en... push 20 Jan 2026 11:15PM UTC freeeve github
73.27
21189911094 main fix(sstable): add mutex to prevent race condition in DecRef/Close The file field was being accessed without synchronization in DecRef() and Close(), causing a data race when multiple goroutines called these methods concurrently during compaction.... push 20 Jan 2026 10:43PM UTC freeeve github
71.01
21189285243 main fix: address minor SonarCloud code style issues - Group consecutive function parameters of the same type (S8209) - Remove unnecessary variable declarations in conditions (S8193) - Extract duplicate separator literal to constant in fuzz script (S1... push 20 Jan 2026 10:21PM UTC freeeve github
70.99
21188767204 main refactor(writer): replace context with done channel for shutdown Use a simple done channel instead of context.Context for goroutine lifecycle management. This is more explicit for shutdown signaling and avoids storing context in a struct (go:S8242). push 20 Jan 2026 10:02PM UTC freeeve github
70.99
21188174045 main fix(scripts): improve ec2_benchmark.sh shell script best practices - Change [ ] to [[ ]] for all conditional tests - Add explicit return statements to all functions - Assign positional parameters to local variables in log/error/warn - Redirect er... push 20 Jan 2026 09:42PM UTC freeeve github
71.0
21187883726 main fix(scripts): improve shell script best practices - Use [[ ]] instead of [ ] for conditional tests - Rename local variables to lower_case convention - Add explicit return statements to functions push 20 Jan 2026 09:32PM UTC freeeve github
71.0
21187550776 main refactor: extract helpers to reduce cognitive complexity - shell.go: Extract loadHistory, saveHistory, runLoop, handlePromptError - wal.go: Extract ensureBlockSpace, prepareFragment, writeRecord, type helpers - main.go: Extract loadValidTableIDs,... push 20 Jan 2026 09:20PM UTC freeeve github
70.98
21187239412 main refactor(reader): extract helpers to reduce cognitive complexity Extract helper functions from findTableForPrefix, searchNextBlocks, and scanPrefixLoop to reduce cognitive complexity below the threshold of 15. push 20 Jan 2026 09:10PM UTC freeeve github
71.33
See All Builds (63)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc