bulk insert and benchmarks

This commit is contained in:
Elijah McMorris 2024-01-15 22:17:25 -08:00
parent dc85c7d997
commit 82edfdfbd3
Signed by: NexVeridian
SSH key fingerprint: SHA256:bsA1SKZxuEcEVHAy3gY1HUeM5ykRJl0U0kQHQn0hMg8
12 changed files with 289 additions and 54 deletions

View file

@ -8,7 +8,7 @@ license = "MIT OR Apache-2.0"
anyhow = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
surrealdb = "1.0"
surrealdb = "1.1"
tokio = { version = "1.35", features = ["time"] }
futures = "0.3"
wikidata = "0.3.1"
@ -17,4 +17,9 @@ lazy_static = "1.4"
indicatif = "0.17"
[dev-dependencies]
surrealdb = { version = "1.0", features = ["kv-mem"] }
surrealdb = { version = "1.1", features = ["kv-mem"] }
criterion = { version = "0.5", features = ["async_tokio"] }
[[bench]]
name = "bench"
harness = false