feat(neotree): virtualize unbounded file trees (#289) #85
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: 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 |