Implement flamegraph data exporter, streaming pipeline report latency profiling, and simulation/analysis hot paths #182
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: Devkit Benchmarks | |
| on: | |
| pull_request: | |
| branches: [main] | |
| paths: ['packages/devkit/**'] | |
| jobs: | |
| benchmark: | |
| name: Criterion Benchmarks | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: packages/devkit | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - uses: Swatinem/rust-cache@v2 | |
| with: | |
| workspaces: packages/devkit | |
| - name: Compile benchmarks | |
| run: cargo bench --no-run | |
| - name: Run benchmarks (quick) | |
| run: cargo bench -- --output-format bencher 2>&1 | tee benchmark-output.txt || true | |
| - name: Post results to step summary | |
| run: | | |
| echo "## Devkit Benchmark Results" >> $GITHUB_STEP_SUMMARY | |
| echo "\`\`\`" >> $GITHUB_STEP_SUMMARY | |
| cat benchmark-output.txt >> $GITHUB_STEP_SUMMARY || echo "No output captured." >> $GITHUB_STEP_SUMMARY | |
| echo "\`\`\`" >> $GITHUB_STEP_SUMMARY |