Add benchmarks using cargo bench / criterion (#190)

This commit is contained in:
Daniël Heres 2020-06-07 15:46:55 +02:00 committed by GitHub
parent d32df527e6
commit 6e6fae73a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 73 additions and 0 deletions

6
docs/benchmarking.md Normal file
View file

@ -0,0 +1,6 @@
# Benchmarking
Run `cargo bench` in the project `sqlparser_bench` execute the queries.
It will report results using the `criterion` library to perform the benchmarking.
The bench project lives in another crate, to avoid the negative impact on building the `sqlparser` crate.