mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-22 15:04:04 +00:00
Document micro benchmarks (#1555)
This commit is contained in:
parent
525d1780e8
commit
0adec33b94
3 changed files with 33 additions and 0 deletions
12
README.md
12
README.md
|
@ -210,6 +210,18 @@ Our goal as maintainers is to facilitate the integration
|
||||||
of various features from various contributors, but not to provide the
|
of various features from various contributors, but not to provide the
|
||||||
implementations ourselves, as we simply don't have the resources.
|
implementations ourselves, as we simply don't have the resources.
|
||||||
|
|
||||||
|
### Benchmarking
|
||||||
|
|
||||||
|
There are several micro benchmarks in the `sqlparser_bench` directory.
|
||||||
|
You can run them with:
|
||||||
|
|
||||||
|
```
|
||||||
|
git checkout main
|
||||||
|
cd sqlparser_bench
|
||||||
|
cargo bench
|
||||||
|
git checkout <your branch>
|
||||||
|
cargo bench
|
||||||
|
```
|
||||||
|
|
||||||
## Licensing
|
## Licensing
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "sqlparser_bench"
|
name = "sqlparser_bench"
|
||||||
|
description = "Benchmarks for sqlparser"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["Dandandan <danielheres@gmail.com>"]
|
authors = ["Dandandan <danielheres@gmail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
20
sqlparser_bench/README.md
Normal file
20
sqlparser_bench/README.md
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
<!---
|
||||||
|
Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
or more contributor license agreements. See the NOTICE file
|
||||||
|
distributed with this work for additional information
|
||||||
|
regarding copyright ownership. The ASF licenses this file
|
||||||
|
to you under the Apache License, Version 2.0 (the
|
||||||
|
"License"); you may not use this file except in compliance
|
||||||
|
with the License. You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing,
|
||||||
|
software distributed under the License is distributed on an
|
||||||
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, either express or implied. See the License for the
|
||||||
|
specific language governing permissions and limitations
|
||||||
|
under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
Benchmarks for sqlparser. See [the main README](../README.md) for more information.
|
Loading…
Add table
Add a link
Reference in a new issue