Skip to content

perf(lib): streamline the grammar and other performance improvements #47

perf(lib): streamline the grammar and other performance improvements

perf(lib): streamline the grammar and other performance improvements #47

Workflow file for this run

name: Performance Benchmarks
on: [push, pull_request]
jobs:
benchmark:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Build benchmark tool
run: cargo build --release --bin string-pipeline-bench
- name: Run benchmarks
run: |
./target/release/string-pipeline-bench --iterations 5000 > benchmark_results.txt
- name: Upload results
uses: actions/upload-artifact@v4
with:
name: benchmark-results
path: benchmark_results.json