bug fixes & enhancements #17
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 (bigocheck) | |
| on: | |
| push: | |
| branches: [ main, master ] | |
| pull_request: | |
| branches: [ main, master ] | |
| jobs: | |
| benchmark: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.10' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install bigocheck | |
| if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
| - name: Run Benchmarks | |
| run: | | |
| # Run diff-based benchmarking (placeholder logic) | |
| echo "Running benchmarks..." | |
| # Example: bigocheck run --target mymodule:my_func --sizes 100 500 1000 --json | |
| - name: Check for Regressions | |
| # Example: bigocheck regression ... | |
| run: echo "Checking for regressions..." |