quarylabs / sqruff

Fast SQL formatter/linter
https://quary.dev/
Apache License 2.0
277 stars 6 forks source link

chore: moving indent unit to enum #528

Closed benfdking closed 1 month ago

github-actions[bot] commented 1 month ago

Benchmark for 4f8ce49

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | DepthMap::from_parent | 142.7±2.30µs | 141.4±4.56µs | -0.91% | | fix_complex_query | 12.5±0.21ms | 12.7±0.28ms | +1.60% | | parse_complex_query | **4.2±0.04µs** | 4.3±0.25µs | **+2.38%** | | parse_expression_recursion | 7.1±0.05µs | 7.1±0.03µs | 0.00% | | parse_simple_query | 1379.1±20.25ns | 1393.9±24.35ns | +1.07% |
github-actions[bot] commented 1 month ago

Benchmark for b1de4b1

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | DepthMap::from_parent | 143.0±2.77µs | **139.5±2.02µs** | **-2.45%** | | fix_complex_query | **12.7±0.19ms** | 12.8±0.06ms | **+0.79%** | | parse_complex_query | **4.2±0.07µs** | 4.3±0.10µs | **+2.38%** | | parse_expression_recursion | 7.3±0.13µs | **7.1±0.08µs** | **-2.74%** | | parse_simple_query | 1384.2±30.95ns | 1400.3±34.35ns | +1.16% |