issues
search
quarylabs
/
sqruff
Fast SQL formatter/linter
https://playground.quary.dev/?secondary=Format
Apache License 2.0
353
stars
14
forks
source link
refactor: move lex function to use dialect
#735
Closed
benfdking
closed
1 month ago
github-actions[bot]
commented
1 month ago
Benchmark for 4782f1e
Click to view benchmark
| Test | Base | PR | % | |------|--------------|------------------|---| | DepthMap::from_parent | 44.5±0.47µs | **40.9±0.59µs** | **-8.09%** | | fix_complex_query | 11.3±0.13ms | 11.3±0.13ms | 0.00% | | parse_complex_query | 2.8±0.09µs | 2.8±0.03µs | 0.00% | | parse_expression_recursion | **5.0±0.04µs** | 5.3±0.21µs | **+6.00%** | | parse_simple_query | **815.8±13.91ns** | 830.7±31.83ns | **+1.83%** |
github-actions[bot]
commented
1 month ago
Benchmark for 09165f5
Click to view benchmark
| Test | Base | PR | % | |------|--------------|------------------|---| | DepthMap::from_parent | **40.5±0.42µs** | 41.2±0.25µs | **+1.73%** | | fix_complex_query | **11.4±0.15ms** | 11.7±0.20ms | **+2.63%** | | parse_complex_query | 2.8±0.03µs | 2.8±0.03µs | 0.00% | | parse_expression_recursion | **5.0±0.09µs** | 5.1±0.04µs | **+2.00%** | | parse_simple_query | 817.9±7.16ns | 812.2±23.42ns | -0.70% |
Benchmark for 4782f1e
Click to view benchmark
| Test | Base | PR | % | |------|--------------|------------------|---| | DepthMap::from_parent | 44.5±0.47µs | **40.9±0.59µs** | **-8.09%** | | fix_complex_query | 11.3±0.13ms | 11.3±0.13ms | 0.00% | | parse_complex_query | 2.8±0.09µs | 2.8±0.03µs | 0.00% | | parse_expression_recursion | **5.0±0.04µs** | 5.3±0.21µs | **+6.00%** | | parse_simple_query | **815.8±13.91ns** | 830.7±31.83ns | **+1.83%** |