You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cargo bench
...
Running benches/sqlparser_bench.rs (target/release/deps/sqlparser_bench-0a4654f932bbac9e)
Gnuplot not found, using plotters backend
Benchmarking sqlparser-rs parsing benchmark/sqlparser::select: Warming up for 3.0000 sthread 'main' panicked at benches/sqlparser_bench.rs:28:55:
called `Result::unwrap()` on an `Err` value: ParserError("Expected: (, found: WHERE at Line: 1, Column: 21")note: run with `RUST_BACKTRACE=1` environment variable to display a backtraceerror: bench failed, to rerun pass `--bench sqlparser_bench`
The text was updated successfully, but these errors were encountered:
alamb
changed the title
Benchmarks are erroring
Sqlparser Benchmarks are erroring
Nov 26, 2024
Fix benchmarks so they don't error
Inspired by @Nyrox's comment #1435 (comment), I spent some time looking at the benchmarks for the SQL parser and found that they were erroring out 😱
So basically the benchmarks are testing the speed of generating errors.
Right now, errors are ignored, but when I changed that I found that the benchmarks were erroring out:
The text was updated successfully, but these errors were encountered: