965ed2f675
CI / test (push) Has been cancelled
CI / verify (push) Has been cancelled
Clients CI / build-server (push) Has been cancelled
Clients CI / test-python (push) Has been cancelled
Clients CI / test-javascript (push) Has been cancelled
Clients CI / test-nim (push) Has been cancelled
Clients CI / test-rust (push) Has been cancelled
FTS Engine (src/barabadb/fts/engine.nim): - Fix bm25Score doing O(n) linear scan per document - Cache IDF per token instead of recomputing for each doc - Use entry.termFreq directly instead of searching postings again - Result: FTS search +438% (249 -> 1360 queries/s) HNSW Vector Engine (src/barabadb/vector/engine.nim): - Optimize distance functions with float32 + 4x loop unrolling - Rewrite searchLayer: swap+pop instead of O(n) del, track worst-nearest instead of sorting nearest on every iteration - Result: HNSW insert +117% (245 -> 543 ops/s), search 2.2x faster Benchmarks: - Add real PostgreSQL comparison script (benchmarks/pg_bench.py) - Add report generator (benchmarks/generate_report.py) - Fix compare.nim cpuTime() bug (was dividing by 1M incorrectly) - Add nimble tasks: bench_pg, bench_report Docs: - Update README.md and docs/en/performance.md with real measured numbers - Add benchmarks/REAL_COMPARISON.md Version bump: 1.1.7 -> 1.1.8
57 lines
775 B
Plaintext
57 lines
775 B
Plaintext
# Build
|
|
build/
|
|
nimcache/
|
|
nimblecache/
|
|
*.out
|
|
|
|
# Binaries (compiled test executables)
|
|
tests/test_all
|
|
tests/stress_test
|
|
tests/test_lock
|
|
tests/test_minimal
|
|
tests/tla_faithfulness
|
|
tests/fuzz_test
|
|
tests/prop_test
|
|
benchmarks/bench_all
|
|
benchmarks/compare
|
|
clients/nim/tests/test_client
|
|
src/baradadb
|
|
src/barabadb/client/client
|
|
src/barabadb/core/raft
|
|
src/barabadb/core/backup
|
|
|
|
# Temp
|
|
*.tmp
|
|
*.log
|
|
|
|
# Data
|
|
data/
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# External references
|
|
GEL/
|
|
|
|
# Python
|
|
__pycache__/
|
|
*.pyc
|
|
|
|
# Rust
|
|
clients/rust/target/
|
|
|
|
# Nim compiled binaries
|
|
clients/nim/src/baradb/client
|
|
src/barabadb/storage/compaction
|
|
src/barabadb/query/executor
|
|
tests/join_tests
|
|
*.tar.gz
|
|
tests/nimforum_smoke_test
|
|
|
|
benchmark_results.json
|
|
pg_benchmark_results.json
|
|
benchmarks/bench_all
|
|
benchmarks/compare
|
|
.qwen/
|