-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into extra_checks
- Loading branch information
Showing
11 changed files
with
157 additions
and
287 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,10 @@ authors = ["Dandandan <[email protected]>"] | |
edition = "2018" | ||
|
||
[dependencies] | ||
sqlite3-parser = { path = "..", default-features = false, features = ["YYNOERRORRECOVERY"] } | ||
sqlite3-parser = { path = "..", default-features = false, features = [ | ||
"YYNOERRORRECOVERY", | ||
"NDEBUG", | ||
] } | ||
fallible-iterator = "0.3" | ||
|
||
[dev-dependencies] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,32 @@ | ||
Adapted from https://github.com/ballista-compute/sqlparser-rs/tree/main/sqlparser_bench | ||
Adapted from https://github.com/ballista-compute/sqlparser-rs/tree/main/sqlparser_bench | ||
|
||
## sqlparser-rs | ||
|
||
``` | ||
sqlparser-rs parsing benchmark/sqlparser::select | ||
time: [9.9697 µs 10.068 µs 10.184 µs] | ||
Found 14 outliers among 100 measurements (14.00%) | ||
5 (5.00%) high mild | ||
9 (9.00%) high severe | ||
sqlparser-rs parsing benchmark/sqlparser::with_select | ||
time: [59.569 µs 60.088 µs 60.743 µs] | ||
Found 9 outliers among 100 measurements (9.00%) | ||
3 (3.00%) high mild | ||
6 (6.00%) high severe | ||
``` | ||
|
||
## sqlite3-parser | ||
|
||
``` | ||
sqlparser-rs parsing benchmark/sqlparser::select | ||
time: [6.5488 µs 6.5773 µs 6.6108 µs] | ||
Found 10 outliers among 100 measurements (10.00%) | ||
4 (4.00%) high mild | ||
6 (6.00%) high severe | ||
sqlparser-rs parsing benchmark/sqlparser::with_select | ||
time: [22.182 µs 22.321 µs 22.473 µs] | ||
Found 8 outliers among 100 measurements (8.00%) | ||
1 (1.00%) low mild | ||
3 (3.00%) high mild | ||
4 (4.00%) high severe | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.