HNSW algorithm implementations
implementation | description | path |
---|---|---|
ref | the reference implementation from https://arxiv.org/pdf/1603.09320.pdf | RefHnsw.scala |
See ExampleIntVecL2DF.scala for tuning example
bin/sbt "bench/Jmh/run -i 10 -wi 2 -f1 -t10 -rf text"
Benchmark Mode Cnt Score Error Units
RefHnswBench100000Vectors5Neighbors.query thrpt 10 8483.214 ± 240.390 ops/s