lanterndata / lantern

PostgreSQL vector database extension for building AI applications
https://lantern.dev
GNU Affero General Public License v3.0
790 stars 56 forks source link

Support sparsevec in weighted vector search function #328

Open dqii opened 3 months ago

github-actions[bot] commented 3 months ago

Benchmarks

metric old new pct change
recall (after create) 0.952 0.952 -
recall (after insert) 0.000 0.000 -
select tps 26694.845 26981.450 +1.07%
select bulk(100) tps 36.678 35.175 -4.10%
select latency (ms) 0.705 ± 1.491𝜎 0.684 ± 1.477𝜎 -2.98%
select bulk(100) latency (ms) 855.498 ± 112.767𝜎 878.168 ± 117.118𝜎 +2.65%
create latency (ms) 391018.657 407151.075 +4.13%
insert tps 441.719 440.408 -0.30%
insert bulk(100) tps 4.753 4.560 -4.05%
insert latency (ms) 71.822 ± 16.181𝜎 72.047 ± 14.955𝜎 +0.31%
insert bulk(100) latency (ms) 6629.397 ± 96.700𝜎 6844.803 ± 257.844𝜎 +3.25%
disk usage (bytes) 8192008192.000 8192008192.000 -
codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

:loudspeaker: Thoughts on this report? Let us know!