Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@ path = "benchmarks/query_benchmark.rs"
harness = false
required-features = ["pprof"]

[[example]]
name = "alloc_trace"
required-features = ["lmdb", "orm", "parser"]

[[example]]
name = "borrowed_parse"
required-features = ["lmdb", "orm", "parser"]

[dependencies]
bumpalo = { version = "3", default-features = false, features = ["collections"] }
hashbrown = { version = "0.15", default-features = false }
Expand All @@ -76,6 +84,8 @@ indicatif = { version = "0.17" }
tempfile = { version = "3.10" }
# Benchmark
sqlite = { version = "0.34" }
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1" }

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
# Optional dependencies for features
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,9 @@ print(list(db.run("select * from demo")))

| Backend | TpmC | New-Order | Payment | Order-Status | Delivery | Stock-Level |
| --- | ---: | ---: | ---: | ---: | ---: | ---: |
| KiteSQL LMDB | 209840 | 254 | 50 | 28 | 345 | 202 |
| KiteSQL RocksDB | 48049 | 354 | 85 | 146 | 14511 | 562 |
| SQLite (WAL, `synchronous=OFF`) | 192435 | 270 | 40 | 33 | 344 | 265 |
| KiteSQL LMDB | 225720 | 240 | 44 | 25 | 326 | 179 |
| KiteSQL RocksDB | 48746 | 343 | 78 | 140 | 14351 | 587 |
| SQLite (WAL, `synchronous=OFF`) | 192110 | 270 | 40 | 33 | 342 | 231 |

👉 [Details and how to reproduce](tpcc/README.md)

Expand Down
387 changes: 387 additions & 0 deletions docs/zero-copy-sql-on-lmdb.md

Large diffs are not rendered by default.

387 changes: 387 additions & 0 deletions docs/zero-copy-sql-on-lmdb.zh-CN.md

Large diffs are not rendered by default.

Loading
Loading