mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-25 08:46:49 +02:00
Initial commit
This commit is contained in:
commit
4c8ad629e0
28 changed files with 6758 additions and 0 deletions
31
benchmarks/profiling/query-k.sql
Normal file
31
benchmarks/profiling/query-k.sql
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
.timer on
|
||||
|
||||
select rowid, distance
|
||||
from vec_items
|
||||
where embedding match (select embedding from vec_items where rowid = 100)
|
||||
and k = :k
|
||||
order by distance;
|
||||
|
||||
select rowid, distance
|
||||
from vec_items
|
||||
where embedding match (select embedding from vec_items where rowid = 100)
|
||||
and k = :k
|
||||
order by distance;
|
||||
|
||||
select rowid, distance
|
||||
from vec_items
|
||||
where embedding match (select embedding from vec_items where rowid = 100)
|
||||
and k = :k
|
||||
order by distance;
|
||||
|
||||
select rowid, distance
|
||||
from vec_items
|
||||
where embedding match (select embedding from vec_items where rowid = 100)
|
||||
and k = :k
|
||||
order by distance;
|
||||
|
||||
select rowid, distance
|
||||
from vec_items
|
||||
where embedding match (select embedding from vec_items where rowid = 100)
|
||||
and k = :k
|
||||
order by distance;
|
||||
Loading…
Add table
Add a link
Reference in a new issue