Rename all project references from quicproquo/qpq to quicprochat/qpc across documentation, Docker configuration, CI workflows, packaging scripts, operational configs, and build tooling. - Docker: crate paths, binary names, user/group, data dirs, env vars - CI: workflow crate references, binary names, artifact names - Docs: all markdown files under docs/, SDK READMEs, book.toml - Packaging: OpenWrt Makefile, init script, UCI config (file renames) - Scripts: justfile, dev-shell, screenshot, cross-compile, ai_team - Operations: Prometheus config, alert rules, Grafana dashboard - Config: .env.example (QPQ_* → QPC_*), CODEOWNERS paths - Top-level: README, CONTRIBUTING, ROADMAP, CLAUDE.md
55 lines
1.3 KiB
YAML
55 lines
1.3 KiB
YAML
name: Benchmarks
|
|
|
|
on:
|
|
push:
|
|
branches: [main, v2]
|
|
pull_request:
|
|
branches: [main, v2]
|
|
workflow_dispatch:
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
|
|
jobs:
|
|
bench:
|
|
name: Run Criterion benchmarks
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install Rust
|
|
uses: dtolnay/rust-action@stable
|
|
|
|
- name: Install capnp
|
|
run: sudo apt-get update && sudo apt-get install -y capnproto
|
|
|
|
- name: Cache cargo
|
|
uses: actions/cache@v4
|
|
with:
|
|
path: |
|
|
~/.cargo/registry
|
|
~/.cargo/git
|
|
target
|
|
key: ${{ runner.os }}-bench-${{ hashFiles('**/Cargo.lock') }}
|
|
restore-keys: |
|
|
${{ runner.os }}-bench-
|
|
|
|
- name: Run benchmarks
|
|
run: cargo bench --package quicprochat-core -- --output-format=bencher 2>&1 | tee bench-output.txt
|
|
|
|
- name: Upload HTML reports
|
|
uses: actions/upload-artifact@v4
|
|
if: always()
|
|
with:
|
|
name: criterion-reports
|
|
path: target/criterion/
|
|
retention-days: 30
|
|
|
|
- name: Upload raw output
|
|
uses: actions/upload-artifact@v4
|
|
if: always()
|
|
with:
|
|
name: bench-output
|
|
path: bench-output.txt
|
|
retention-days: 30
|