datafusion-sqlparse/sqlparser_bench
dependabot[bot] 85fa881379
Some checks are pending
license / Release Audit Tool (RAT) (push) Waiting to run
Rust / codestyle (push) Waiting to run
Rust / lint (push) Waiting to run
Rust / benchmark-lint (push) Waiting to run
Rust / compile (push) Waiting to run
Rust / docs (push) Waiting to run
Rust / compile-no-std (push) Waiting to run
Rust / test (beta) (push) Waiting to run
Rust / test (nightly) (push) Waiting to run
Rust / test (stable) (push) Waiting to run
Update criterion requirement from 0.6 to 0.7 in /sqlparser_bench (#1981)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-30 21:29:34 +02:00
..
benches Fix clippy lints on 1.88.0 (#1910) 2025-06-27 14:21:17 -04:00
img Test benchmarks and Improve benchmark README.md (#1627) 2025-01-01 21:47:59 +01:00
Cargo.toml Update criterion requirement from 0.6 to 0.7 in /sqlparser_bench (#1981) 2025-07-30 21:29:34 +02:00
README.md Test benchmarks and Improve benchmark README.md (#1627) 2025-01-01 21:47:59 +01:00

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