datafusion-sqlparse/sqlparser_bench/README.md

1.3 KiB

Benchmarks for sqlparser. See the main README for more information.

Note: this is in a separate, non workspace crate to avoid adding a dependency on criterion to the main crate (which complicates testing without std).

Running Benchmarks

cargo bench --bench sqlparser_bench

Profiling

Note you can generate a flamegraph using the following command:

cargo flamegraph --bench sqlparser_bench

Here is an example flamegraph: flamegraph