quarylabs / sqruff

Fast SQL formatter/linter
https://playground.quary.dev/?secondary=Format
Apache License 2.0
457 stars 16 forks source link

fix: correct newline regex patterns #941

Closed gvozdvmozgu closed 2 weeks ago

github-actions[bot] commented 2 weeks ago

Benchmark for 0a8444e

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | DepthMap::from_parent | 41.1±1.27µs | 41.1±0.35µs | 0.00% | | fix_complex_query | 11.7±0.05ms | **11.6±0.24ms** | **-0.85%** | | parse_complex_query | 2.9±0.03µs | **2.8±0.03µs** | **-3.45%** | | parse_expression_recursion | 5.0±0.03µs | 5.0±0.03µs | 0.00% | | parse_simple_query | 847.4±10.13ns | **812.5±6.41ns** | **-4.12%** |
github-actions[bot] commented 2 weeks ago

Benchmark for 543b76f

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | DepthMap::from_parent | **40.0±0.42µs** | 40.9±0.22µs | **+2.25%** | | fix_complex_query | **11.8±0.24ms** | 12.1±0.43ms | **+2.54%** | | parse_complex_query | 2.8±0.04µs | 2.8±0.04µs | 0.00% | | parse_expression_recursion | **5.0±0.08µs** | 5.1±0.38µs | **+2.00%** | | parse_simple_query | 836.6±21.11ns | **816.5±6.75ns** | **-2.40%** |
github-actions[bot] commented 2 weeks ago

Benchmark for f87f625

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | DepthMap::from_parent | **40.1±0.44µs** | 41.5±0.26µs | **+3.49%** | | fix_complex_query | 11.8±0.30ms | **11.5±0.20ms** | **-2.54%** | | parse_complex_query | 2.8±0.02µs | 2.8±0.02µs | 0.00% | | parse_expression_recursion | 5.1±0.05µs | **5.0±0.20µs** | **-1.96%** | | parse_simple_query | 830.6±10.71ns | 830.1±24.95ns | -0.06% |