mirror of
https://github.com/allankoechke/turso.git
synced 2026-11-29 09:33:48 +00:00
This rewrites the concurrent write throughput benchmark. First, instead of having two different drivers, unify them into one, with separate Turso and SQLite engines, so both run the same experiment with the same durability settings. Second, switch to a closed-loop model where every connection is one thread with one long-lived connection that starts its next transaction the moment the previous one commits, so the connection count is the number of transactions in flight, and sweep it well past the core count. Also, run checkpointing from a separate thread on both engines, and sample the CPU the process uses once a second, so throughput is never reported without what it cost. Finally, improve the plotting to show transactions per second and CPU utilization against connections, with error bars over repeated runs.
50 lines
1.1 KiB
TOML
50 lines
1.1 KiB
TOML
# cargo-deny configuration
|
|
# See: https://embarkstudios.github.io/cargo-deny/
|
|
|
|
[graph]
|
|
# Include all targets for comprehensive checking
|
|
all-features = true
|
|
# Exclude internal perf/testing crates from license checks
|
|
exclude = [
|
|
"encryption-throughput",
|
|
"txn-throughput",
|
|
]
|
|
|
|
[licenses]
|
|
# Use version 2 for modern cargo-deny behavior
|
|
version = 2
|
|
|
|
# Confidence threshold for license detection
|
|
confidence-threshold = 0.95
|
|
|
|
# List of explicitly allowed licenses
|
|
# All other licenses are denied by default (including all GPL variants)
|
|
allow = [
|
|
"MIT",
|
|
"Apache-2.0",
|
|
"Apache-2.0 WITH LLVM-exception",
|
|
"BSD-2-Clause",
|
|
"BSD-3-Clause",
|
|
"BSL-1.0",
|
|
"ISC",
|
|
"Zlib",
|
|
"Unicode-3.0",
|
|
"CC0-1.0",
|
|
"CDLA-Permissive-2.0",
|
|
"Unlicense",
|
|
"MPL-2.0",
|
|
]
|
|
|
|
# Clarification for ring crate which has a complex license
|
|
[[licenses.clarify]]
|
|
name = "ring"
|
|
expression = "MIT AND ISC AND OpenSSL"
|
|
license-files = [
|
|
{ path = "LICENSE", hash = 0xbd0eed23 },
|
|
]
|
|
|
|
# Private crates (workspace members) are ignored
|
|
[licenses.private]
|
|
ignore = true
|
|
registries = []
|