fix(tokenizer)!: Fix underscore separator with scientific notation #14
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Benchmark Rust tokenizer changes | |
| on: | |
| pull_request: | |
| paths: | |
| - 'sqlglotrs/**' | |
| jobs: | |
| run-benchmark: | |
| name: run benchmark | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| # Install Python development libraries | |
| - name: Setup Python for benchmarks | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y python3-dev pkg-config | |
| # Force linking against system Python | |
| echo "RUSTFLAGS=-C link-arg=-lpython3" >> $GITHUB_ENV | |
| # Also set the library path just in case | |
| echo "LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:${LD_LIBRARY_PATH}" >> $GITHUB_ENV | |
| echo "LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:${LIBRARY_PATH}" >> $GITHUB_ENV | |
| - uses: boa-dev/criterion-compare-action@v3 | |
| with: | |
| branchName: ${{ github.base_ref }} | |
| cwd: "sqlglotrs" |