quarylabs / sqruff

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

feaT: implement rule CV09 #495

Closed benfdking closed 3 months ago

github-actions[bot] commented 3 months ago

Benchmark for 8ab5af1

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | DepthMap::from_parent | 209.9±2.74µs | 210.3±4.39µs | +0.19% | | fix_complex_query | 17.7±0.18ms | 17.8±0.11ms | +0.56% | | parse_complex_query | 6.0±0.18µs | 6.0±0.12µs | 0.00% | | parse_expression_recursion | 11.7±0.13µs | 11.7±0.08µs | 0.00% | | parse_simple_query | 1560.6±32.09ns | 1568.3±18.80ns | +0.49% |
github-actions[bot] commented 3 months ago

Benchmark for 86455b7

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | DepthMap::from_parent | 150.0±4.80µs | 148.1±3.99µs | -1.27% | | fix_complex_query | 14.4±0.22ms | 14.6±0.40ms | +1.39% | | parse_complex_query | 4.9±0.06µs | **4.8±0.06µs** | **-2.04%** | | parse_expression_recursion | 9.9±0.04µs | **9.8±0.09µs** | **-1.01%** | | parse_simple_query | **1430.2±43.22ns** | 1496.0±15.68ns | **+4.60%** |
github-actions[bot] commented 3 months ago

Benchmark for 3fe026e

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | DepthMap::from_parent | 150.1±1.16µs | **148.9±0.88µs** | **-0.80%** | | fix_complex_query | **14.3±0.10ms** | 14.4±0.07ms | **+0.70%** | | parse_complex_query | 4.9±0.05µs | 4.9±0.07µs | 0.00% | | parse_expression_recursion | **9.7±0.08µs** | 10.0±0.11µs | **+3.09%** | | parse_simple_query | 1430.8±25.26ns | 1415.9±58.06ns | -1.04% |
github-actions[bot] commented 3 months ago

Benchmark for 79e3760

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | DepthMap::from_parent | 150.3±2.19µs | 150.1±4.81µs | -0.13% | | fix_complex_query | 14.8±0.25ms | 14.8±0.42ms | 0.00% | | parse_complex_query | 4.8±0.05µs | 4.8±0.02µs | 0.00% | | parse_expression_recursion | **9.6±0.07µs** | 9.8±0.08µs | **+2.08%** | | parse_simple_query | 1409.7±41.29ns | 1397.3±39.09ns | -0.88% |