Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
3287ba1
Add design for TEAV tx-window index narrowing
cursoragent Aug 29, 2026
ba493fa
Expand TEAV design: index choice, since/history layering, Mode B rules
cursoragent Aug 29, 2026
684387b
Document Logseq production query survey vs TAVE
cursoragent Aug 29, 2026
e0e8f87
Require transparent planner path selection; no caller API change
cursoragent Aug 29, 2026
43560c0
Implement TAVE rolling index with 30-day retention
cursoragent Aug 29, 2026
d4ba8d1
Add TAVE storage-ratio microbench
cursoragent Aug 29, 2026
feae79d
Add Logseq-shaped query microbench across storages
cursoragent Aug 29, 2026
6ec4d8f
Fix Logseq recent-pages path and LMDB rslice full-scan
cursoragent Aug 29, 2026
12e6e8a
Bench Logseq queries via nbb+SQLite across three runtimes
cursoragent Aug 29, 2026
fe13ff4
Drop unused path require from nbb CLJS bench
cursoragent Aug 29, 2026
dd455de
Make shared SQLite bench build on origin/main
cursoragent Aug 29, 2026
4c1f58a
Speed up reverse attr scans for Logseq-style recent queries
cursoragent Aug 29, 2026
e835bbe
Use nbb-logseq PSS storage matching Logseq DB path
cursoragent Aug 29, 2026
8498faf
Add 5k Logseq shared query 3-way bench results
cursoragent Aug 29, 2026
22d82bf
Make Share SQLite and LMDB index scans lazy like upstream
cursoragent Aug 29, 2026
4dd41db
Cover lazy index scans on memory, LMDB, and SQLite
cursoragent Aug 29, 2026
b7a59fd
Speed Share SQLite streams and entity attr lookups
cursoragent Aug 29, 2026
d3958fd
Refresh 5k 3-way Logseq query bench after SQLite/entity fixes
cursoragent Aug 29, 2026
7e30324
Restore AVET value types and compare Logseq results as EDN
cursoragent Aug 29, 2026
1a0db92
Add Datahike and Datalevin Logseq query benches with EDN equality
cursoragent Aug 29, 2026
1fe5de2
Cache AVET point lookups and batch entity forward attrs
cursoragent Aug 29, 2026
ea1234b
Cache EAVT entity slices and entity forward attrs by basis
cursoragent Aug 29, 2026
b0cd9eb
Warm avet_by_attr for attr-only AVET scans on Share
cursoragent Aug 29, 2026
550fe6f
Beat Datahike on all Logseq queries; EDN string equality
cursoragent Aug 29, 2026
9694c50
Ignore Clojure .cpcache under bench/external
cursoragent Aug 29, 2026
b0ec910
Fix Datalevin durable LMDB bench open/cleanup
cursoragent Aug 29, 2026
8d68abf
Add shared people-query 3-way bench vs Datahike and Datalevin
cursoragent Aug 29, 2026
9f2a3a0
Fix Share SQLite bulk build: O(n) tx_data + batched index writes
cursoragent Aug 29, 2026
c41a40a
Push comparison predicates into AVET range scans on fused execute
cursoragent Aug 29, 2026
31066af
Generalize query execute; add Datalevin-style result cache + debug
cursoragent Aug 30, 2026
e3def84
Fix Query_exec hash_join to multi-match; prefer nocache in 3-way
cursoragent Aug 30, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions bench/dune
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,24 @@
(modes exe)
(libraries datascript-ocaml-native datascript_sqlite datascript_lmdb unix sqlite3))

(executable
(name tave_storage_ratio)
(modules tave_storage_ratio)
(modes exe)
(libraries datascript-ocaml-native datascript_sqlite datascript_lmdb unix sqlite3))

(executable
(name logseq_query_bench)
(modules logseq_query_bench)
(modes exe)
(libraries datascript-ocaml-native datascript_sqlite datascript_lmdb unix sqlite3))

(executable
(name logseq_query_bench_shared)
(modules logseq_query_bench_shared)
(modes exe)
(libraries datascript-ocaml-native datascript_sqlite unix sqlite3))

(executable
(name outliner_insert_ocaml)
(modules outliner_insert_ocaml)
Expand Down Expand Up @@ -112,3 +130,4 @@
../script/benchmark_gate_vs_cljs_check_test.sh)
(action
(run bash %{dep:../script/benchmark_gate_vs_cljs_check_test.sh})))

1 change: 1 addition & 0 deletions bench/external/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.cpcache/
8 changes: 8 additions & 0 deletions bench/external/deps.edn
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{:paths ["."]
:deps {org.clojure/clojure {:mvn/version "1.12.5"}
io.replikativ/datahike-jdbc {:mvn/version "0.3.50"}
org.xerial/sqlite-jdbc {:mvn/version "3.53.2.1"}
datalevin/datalevin {:local/root "../../_deps/datalevin"}}
:aliases
{:run {:main-opts ["-m" "logseq-query-bench-clj"]}
:shared {:main-opts ["-m" "shared-query-bench-clj"]}}}
Loading