mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-07-07 17:04:59 +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
|
||||
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
|
||||
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
|
||||
[package]
|
||||
name = "sqlparser_bench"
|
||||
description = "Benchmarks for sqlparser"
|
||||
version = "0.1.0"
|
||||
authors = ["Dandandan <danielheres@gmail.com>"]
|
||||
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