Skip to content

Implement flamegraph data exporter, streaming pipeline report latency profiling, and simulation/analysis hot paths #182

Implement flamegraph data exporter, streaming pipeline report latency profiling, and simulation/analysis hot paths

Implement flamegraph data exporter, streaming pipeline report latency profiling, and simulation/analysis hot paths #182

Workflow file for this run

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