quarylabs / sqruff

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

feat: add `CV10` rule #522

Closed gvozdvmozgu closed 2 months ago

github-actions[bot] commented 2 months ago

Benchmark for d52a806

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | DepthMap::from_parent | 145.4±10.81µs | **142.9±2.22µs** | **-1.72%** | | fix_complex_query | 13.5±0.22ms | 13.5±0.17ms | 0.00% | | parse_complex_query | 4.4±0.04µs | **4.3±0.03µs** | **-2.27%** | | parse_expression_recursion | 7.3±0.06µs | **7.2±0.14µs** | **-1.37%** | | parse_simple_query | 1502.7±39.23ns | **1416.9±53.56ns** | **-5.71%** |
github-actions[bot] commented 2 months ago

Benchmark for 03788bf

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | DepthMap::from_parent | 145.5±1.96µs | **141.2±3.80µs** | **-2.96%** | | fix_complex_query | 13.3±0.38ms | 13.4±0.14ms | +0.75% | | parse_complex_query | 4.8±0.06µs | **4.4±0.06µs** | **-8.33%** | | parse_expression_recursion | 7.5±0.05µs | **7.2±0.05µs** | **-4.00%** | | parse_simple_query | 1470.7±27.64ns | **1437.6±36.66ns** | **-2.25%** |
github-actions[bot] commented 2 months ago

Benchmark for 32b682a

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | DepthMap::from_parent | 141.9±2.29µs | 141.4±2.67µs | -0.35% | | fix_complex_query | 13.6±0.74ms | 13.7±0.36ms | +0.74% | | parse_complex_query | **4.3±0.05µs** | 4.4±0.06µs | **+2.33%** | | parse_expression_recursion | **7.2±0.09µs** | 7.4±0.13µs | **+2.78%** | | parse_simple_query | 1436.8±39.86ns | 1421.5±68.37ns | -1.06% |
github-actions[bot] commented 2 months ago

Benchmark for 53373ca

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | DepthMap::from_parent | 144.1±4.03µs | **141.0±1.69µs** | **-2.15%** | | fix_complex_query | **13.4±0.27ms** | 13.5±0.07ms | **+0.75%** | | parse_complex_query | 4.3±0.09µs | 4.3±0.06µs | 0.00% | | parse_expression_recursion | 7.2±0.11µs | 7.2±0.11µs | 0.00% | | parse_simple_query | 1387.9±21.27ns | 1404.3±45.38ns | +1.18% |
github-actions[bot] commented 2 months ago

Benchmark for 2e47aa3

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | DepthMap::from_parent | 143.8±4.18µs | **141.1±1.56µs** | **-1.88%** | | fix_complex_query | **13.6±0.20ms** | 13.8±0.18ms | **+1.47%** | | parse_complex_query | 4.3±0.06µs | 4.3±0.07µs | 0.00% | | parse_expression_recursion | 7.2±0.03µs | 7.2±0.11µs | 0.00% | | parse_simple_query | 1401.4±42.69ns | 1421.4±45.91ns | +1.43% |