Skip to content

feat(neotree): virtualize unbounded file trees (#289) #85

feat(neotree): virtualize unbounded file trees (#289)

feat(neotree): virtualize unbounded file trees (#289) #85

Workflow file for this run

name: Performance
on:
push:
branches: [main, develop]
paths:
- '.github/workflows/performance.yml'
- 'Cargo.lock'
- 'Cargo.toml'
- 'crates/husk*/**'
- 'examples/husk_cursor_bench.rs'
- 'plugins/indent_guides.hk'
- 'src/plugin/**'
pull_request:
branches: [main, develop]
paths:
- '.github/workflows/performance.yml'
- 'Cargo.lock'
- 'Cargo.toml'
- 'crates/husk*/**'
- 'examples/husk_cursor_bench.rs'
- 'plugins/indent_guides.hk'
- 'src/plugin/**'
schedule:
- cron: '47 6 * * 1'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
permissions:
contents: read
env:
CARGO_TERM_COLOR: always
CARGO_PROFILE_DEV_DEBUG: line-tables-only
CARGO_PROFILE_TEST_DEBUG: line-tables-only
RUST_BACKTRACE: 1
jobs:
perf:
name: Deterministic performance gate
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Cache Rust build artifacts
uses: Swatinem/rust-cache@v2
with:
shared-key: release-x86_64-unknown-linux-gnu
- name: Check bundled Husk callback budget
run: cargo run --locked --release --example husk_cursor_bench -- --assert