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

joaoh82 / rust_sqlite / 25559195914
68%

Build:
DEFAULT BRANCH: main
Ran 08 May 2026 01:52PM UTC
Jobs 1
Files 53
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

08 May 2026 01:48PM UTC coverage: 65.094% (+0.6%) from 64.474%
25559195914

push

github

web-flow
feat(engine): prepared-statement plan cache + parameter binding (SQLR-23) (#110)

`Connection::prepare_cached` (default 16-entry per-connection LRU) +
`Statement::query_with_params` / `Statement::execute_with_params`
substitute `?` placeholders into a cached AST at execute time, skipping
the per-call sqlparser walk. `Value::Vector(Vec<f32>)` is a first-class
bind type — a bound vector substitutes into the same in-band bracket-
array shape an inline `[…]` literal would, so the HNSW probe optimizer
still recognizes it on prepared queries.

Bench harness flipped from per-call SQL formatting (`inline_params`) to
the bound + cached path; every workload's `WorkloadId.version` bumped
`v1 → v2` in lockstep so the methodology change is captured explicitly.
Old v1 envelopes stay readable; the comparison script flags cross-
version pairs.

Smoke run confirms parser-bound wins on the workloads the plan
predicted: W1 -52%, W6 -61%, W3 -44%, W11 -26%. Republishing the
official pinned-host envelope is SQLR-25.

Surfaced one pre-existing limitation: `try_hnsw_probe` is L2-only, so
W10's `vec_distance_cosine` query has been silently brute-forcing the
HNSW variant the entire time. SQLR-28 tracks widening the probe to
cosine + dot.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

307 of 358 new or added lines in 6 files covered. (85.75%)

484 existing lines in 2 files now uncovered.

8983 of 13800 relevant lines covered (65.09%)

1.2 hits per line

Uncovered Changes

Lines Coverage ∆ File
24
82.0
7.27% src/connection.rs
16
0.0
0.0% benchmarks/src/drivers/sqlrite.rs
5
95.8
src/sql/params.rs
3
0.0
0.0% benchmarks/src/drivers/duckdb.rs
3
0.0
0.0% benchmarks/src/drivers/sqlite.rs

Coverage Regressions

Lines Coverage ∆ File
483
7.66
-0.15% src/lib.rs
1
0.0
0.0% benchmarks/src/drivers/sqlrite.rs
Jobs
ID Job ID Ran Files Coverage
1 25559195914.1 08 May 2026 01:52PM UTC 53
65.09
GitHub Action Run
Source Files on build 25559195914
  • Tree
  • List 53
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 1e22ac48 on github
  • Prev Build on main (#25556305160)
  • Next Build on main (#25560420124)
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