issues
search
quarylabs
/
sqruff
Fast SQL formatter/linter
https://quary.dev/
Apache License 2.0
277
stars
6
forks
source link
refactor: single-threaded segment
#507
Closed
gvozdvmozgu
closed
1 month ago
github-actions[bot]
commented
1 month ago
Benchmark for 82c570c
Click to view benchmark
| Test | Base | PR | % | |------|--------------|------------------|---| | DepthMap::from_parent | 150.5±10.27µs | **141.5±1.10µs** | **-5.98%** | | fix_complex_query | 14.2±0.12ms | **13.9±0.13ms** | **-2.11%** | | parse_complex_query | 4.9±0.10µs | **4.3±0.08µs** | **-12.24%** | | parse_expression_recursion | 9.7±0.12µs | **7.2±0.12µs** | **-25.77%** | | parse_simple_query | **1381.0±19.46ns** | 1421.2±49.90ns | **+2.91%** |
github-actions[bot]
commented
1 month ago
Benchmark for 82c570c
Click to view benchmark
| Test | Base | PR | % | |------|--------------|------------------|---| | DepthMap::from_parent | 147.7±1.53µs | **141.4±3.17µs** | **-4.27%** | | fix_complex_query | 14.3±0.08ms | **14.0±0.16ms** | **-2.10%** | | parse_complex_query | 4.8±0.07µs | **4.4±0.08µs** | **-8.33%** | | parse_expression_recursion | 10.0±0.06µs | **7.4±0.10µs** | **-26.00%** | | parse_simple_query | **1412.3±45.02ns** | 1513.3±198.21ns | **+7.15%** |
Benchmark for 82c570c
Click to view benchmark
| Test | Base | PR | % | |------|--------------|------------------|---| | DepthMap::from_parent | 150.5±10.27µs | **141.5±1.10µs** | **-5.98%** | | fix_complex_query | 14.2±0.12ms | **13.9±0.13ms** | **-2.11%** | | parse_complex_query | 4.9±0.10µs | **4.3±0.08µs** | **-12.24%** | | parse_expression_recursion | 9.7±0.12µs | **7.2±0.12µs** | **-25.77%** | | parse_simple_query | **1381.0±19.46ns** | 1421.2±49.90ns | **+2.91%** |