Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: bootandy/dust
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: bootandy/dust
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: perf
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 4 commits
  • 5 files changed
  • 2 contributors

Commits on Sep 16, 2026

  1. perf(walk): trim filter-path overhead and skip ignore_file when off

    Also thread metadata through the ignore_file -> build_node boundary so
    filter-active walks (-x / -M / -A / -y) stat each entry at most once.
    
    Correctness verified by diffing output against the pre-change binary
    with default flags, -i, -e, -v, -X, -M, -x.
    
    Assisted-by: Claude Opus 4.7 (code review, refactoring)
    arcuru authored and bootandy committed Sep 16, 2026
    Configuration menu
    Copy the full SHA
    f508ca3 View commit details
    Browse the repository at this point in the history
  2. perf(walk): skip per-file statx in --filecount mode

    Under `-f` the file's stat is mostly thrown away — `node_from_tuple`
    sets size to 1 and the time fields are only read when -M/-A/-y are
    on. The only field still needed downstream is `inode_device` for
    `clean_inodes` dedup, and both halves are syscall-free: `inode`
    from `DirEntry::ino()` (getdents64), `dev` from the parent
    directory's cached tuple.
    
    Gated to `-f` without `-L` and without metadata-needing filters,
    so output is byte-identical to the previous stat path. Unix-only;
    Windows DirEntry has no cheap d_ino analogue.
    
    Assisted-by: Claude Opus 4.7 (code review, refactoring)
    arcuru authored and bootandy committed Sep 16, 2026
    Configuration menu
    Copy the full SHA
    2886396 View commit details
    Browse the repository at this point in the history
  3. perf(walk): cache per-dir stat to eliminate duplicate syscall

    Syscall reduction verified via strace on a 3-dir / 5-file test tree:
    statx count drops from 11 to 8, exactly one per directory saved.
    
    Assisted-by: Claude Opus 4.7 (code review, refactoring)
    arcuru authored and bootandy committed Sep 16, 2026
    Configuration menu
    Copy the full SHA
    cffa9c8 View commit details
    Browse the repository at this point in the history
  4. fix windows

    bootandy committed Sep 16, 2026
    Configuration menu
    Copy the full SHA
    714ee4d View commit details
    Browse the repository at this point in the history
Loading