998b263517
Co-authored-by: Przemyslaw Hugh Kaznowski <hughkaznowski@protonmail.com> Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com> |
||
---|---|---|
.. | ||
executor.rs | ||
index_btree.rs | ||
parser.rs | ||
processor.rs | ||
README.md |
Benchmarks
This directory contains some micro-benchmarks that can help objectively establish the performance implications of a change.
Manual usage
Execute the following command at the top level of the repository:
cargo bench --package surrealdb --no-default-features --features kv-mem,scripting,http
Profiling
Some of the benchmarks support CPU profiling:
cargo bench --package surrealdb --no-default-features --features kv-mem,scripting,http -- --profile-time=5
Once complete, check the target/criterion/**/profile/flamegraph.svg
files.