Skip to content

Commit

Permalink
Merge ed79104 into a7377ef
Browse files Browse the repository at this point in the history
  • Loading branch information
wcampbell0x2a authored May 4, 2024
2 parents a7377ef + ed79104 commit 6ddfd26
Show file tree
Hide file tree
Showing 14 changed files with 334 additions and 352 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
# build lib and bins with cross
- run: $BUILD_CMD build ${{ matrix.features }} --target ${{ matrix.job.target }} --release --locked --workspace --features xz-static
# test with cross, skipping slow test and tests that use more then qemu default memory
- run: CROSS_CONTAINER_OPTS="--network host" RUST_LOG=info $BUILD_CMD test --workspace --release ${{ matrix.features }} --target ${{ matrix.job.target }} --features xz-static --locked -- --skip slow --skip no_qemu
- run: CROSS_CONTAINER_OPTS="--network host" RUST_LOG=info $BUILD_CMD test --workspace --release ${{ matrix.features }} --target ${{ matrix.job.target }} --features xz-static --locked -- --skip slow --skip no_qemu
# build/test all supported on native x86_64 arch for library and bins (all tests)
build-test-native:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
version: 'Unreleased'
activationLabels: 'C-dependencies,dependabot-reviewed'
changelogPath: './CHANGELOG.md'

- name: Commit the changes
uses: stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842 # v5.0.1
with:
Expand Down
14 changes: 7 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Added items to the public API
- Bump MSRV to `1.74` for `clap-4.5.1` update ([#483](https://github.com/wcampbell0x2a/backhand/pull/483))
### `backhand-test`
- Reduced maximum allocation during testing by free'ing right after full usage ([#504](https://github.com/wcampbell0x2a/backhand/pull/504))
#### unsquashfs
#### unsquashfs
- Performance: Remove progress bar Mutex lock when `--quiet` ([#430](https://github.com/wcampbell0x2a/backhand/pull/430))
### Dependencies
- Bump `actions/upload-artifact` from 4.1.0 to 4.3.1 ([#435](https://github.com/wcampbell0x2a/backhand/pull/435), [#446](https://github.com/wcampbell0x2a/backhand/pull/446), [#465](https://github.com/wcampbell0x2a/backhand/pull/465))
Expand Down Expand Up @@ -103,7 +103,7 @@ Added items to the public API
### `backhand-cli`
- Enable overflow-checks for dist builds ([#421](https://github.com/wcampbell0x2a/backhand/pull/421))

#### unsquashfs
#### unsquashfs
- Use feature `gzip-zune-inflate` for dist build and speed improvements ([#419](https://github.com/wcampbell0x2a/backhand/pull/419))
- Updated benchmarks to show improvement ([#419](https://github.com/wcampbell0x2a/backhand/pull/419))

Expand Down Expand Up @@ -166,7 +166,7 @@ For example, the following is now allowed:
- Bump MSRV to `1.73.0` to use now stabilized `std::os::unix::fs::lchown`
- Add color styling to help output ([#387](https://github.com/wcampbell0x2a/backhand/pull/387))

#### unsquashfs
#### unsquashfs
- Changed name to `unsquashfs-backhand` ([#356](https://github.com/wcampbell0x2a/backhand/pull/356))
- Add progress bar for a cleaner output when extracting files ([#272](https://github.com/wcampbell0x2a/backhand/pull/272))
- Add `--quiet` for not displaying progress bar and RUST_LOG output ([#272](https://github.com/wcampbell0x2a/backhand/pull/272))
Expand Down Expand Up @@ -601,7 +601,7 @@ See https://github.com/wcampbell0x2a/backhand/discussions/145 for more details.
These are benchmarked against the SquashFS image from `TP-Link AXE5400 Mesh Wi-Fi 6E Range Extender`.

##### Speed
For single threaded mode `squashfs-tools/unsquashfs-v4.6.1`, testing on my machine lets me know that
For single threaded mode `squashfs-tools/unsquashfs-v4.6.1`, testing on my machine lets me know that
our `backhand/unsquashfs` is around the same speed performance with a single thread.

##### Allocations
Expand Down Expand Up @@ -637,7 +637,7 @@ is 74.8MB, while our `backhand/unsquashfs` only uses 18.1MB.

## [v0.10.1] - 2023-02-22
### Added
- Zstd compression support
- Zstd compression support

### Fixed
- `FilesystemWriter` Debug impl now works
Expand Down Expand Up @@ -708,7 +708,7 @@ is 74.8MB, while our `backhand/unsquashfs` only uses 18.1MB.
```

### Performance
This releases allows massive performance improvements by only reading files from disk when required
This releases allows massive performance improvements by only reading files from disk when required
and reducing the amount of memory required to read and write an image.

Thanks [@rbran](https://github.com/rbran/) for the incredible work on the performance of the library.
Expand All @@ -729,7 +729,7 @@ write_read/tplink_ax1800
time: [6.7506 s 6.8287 s 6.9349 s]
only_read/netgear_ax6100v2
time: [5.1153 ms 5.1234 ms 5.1305 ms]
only_read/tplink_ax1800
only_read/tplink_ax1800
time: [22.383 ms 22.398 ms 22.415 ms]
```

Expand Down
Loading

0 comments on commit 6ddfd26

Please sign in to comment.