mirror of
https://github.com/tursodatabase/libsql.git
synced 2025-05-12 19:23:08 +00:00
418 B
418 B
Developing libSQL API for Rust
Setting up the environment:
export LIBSQL_STATIC_LIB_DIR=$(pwd)/../../.libs
Building the APIs:
cargo build
Running the tests:
cargo test
Running the benchmarks:
cargo bench
Run benchmarks and generate flamegraphs:
echo -1 | sudo tee /proc/sys/kernel/perf_event_paranoid
cargo bench --bench benchmark -- --profile-time=5