wcampbell0x2a / backhand

Library and binaries for the reading, creating, and modification of SquashFS file systems
Apache License 2.0
112 stars 10 forks source link

Test deku without bits #563

Closed wcampbell0x2a closed 2 days ago

wcampbell0x2a commented 3 months ago

Not sure how much I trust these metrics b/c of inlining: before:

 0.1%   0.7% 50.9KiB     backhand <backhand::squashfs::SuperBlock as deku::DekuReader<([u8; 4],u16,u16,deku::ctx::Endian)>>::from_reader_with_ctx

after:

 0.1%   0.3% 25.8KiB            backhand <backhand::squashfs::SuperBlock as deku::DekuReader<([u8; 4],u16,u16,deku::ctx::Endian)>>::from_reader_with_ctx

Wall-time wise, nothing looks to be a real improvement

github-actions[bot] commented 3 months ago

Benchmark for 52b3bef

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | only_read/netgear_ax6100v2 | 2.3±0.00ms | 2.3±0.00ms | 0.00% | | only_read/tplink_ax1800 | 6.2±0.08ms | **6.1±0.01ms** | **-1.61%** | | unsquashfs/full | 11.2±0.20ms | 11.2±0.20ms | 0.00% | | unsquashfs/full-path-filter | 7.8±0.14ms | 7.8±0.08ms | 0.00% | | unsquashfs/list | 8.2±0.15ms | 8.2±0.10ms | 0.00% | | unsquashfs/list-path-filter | 7.2±0.21ms | 7.2±0.11ms | 0.00% | | write_read/netgear_ax6100v2 | 1282.8±3.25ms | 1284.9±9.34ms | +0.16% | | write_read/tplink_ax1800 | 7.1±0.04s | 7.1±0.03s | 0.00% |
github-actions[bot] commented 3 months ago

Benchmark for b7925a6

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | only_read/netgear_ax6100v2 | 2.4±0.00ms | **2.3±0.00ms** | **-4.17%** | | only_read/tplink_ax1800 | 6.2±0.03ms | **6.0±0.00ms** | **-3.23%** | | unsquashfs/full | 11.1±0.24ms | **10.9±0.15ms** | **-1.80%** | | unsquashfs/full-path-filter | 7.6±0.09ms | **7.5±0.06ms** | **-1.32%** | | unsquashfs/list | 8.0±0.10ms | **7.9±0.09ms** | **-1.25%** | | unsquashfs/list-path-filter | 7.1±0.10ms | **6.9±0.04ms** | **-2.82%** | | write_read/netgear_ax6100v2 | **1271.5±1.74ms** | 1283.8±4.50ms | **+0.97%** | | write_read/tplink_ax1800 | 7.0±0.01s | 7.0±0.03s | 0.00% |
github-actions[bot] commented 1 month ago

Benchmark for 49880a0

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | only_read/netgear_ax6100v2 | 2.4±0.00ms | **2.3±0.01ms** | **-4.17%** | | only_read/tplink_ax1800 | 6.3±0.01ms | **6.1±0.00ms** | **-3.17%** | | unsquashfs/full | 11.1±0.20ms | 11.2±0.20ms | +0.90% | | unsquashfs/full-path-filter | 7.8±0.12ms | 7.8±0.12ms | 0.00% | | unsquashfs/list | 8.3±0.19ms | **8.1±0.16ms** | **-2.41%** | | unsquashfs/list-path-filter | 7.2±0.11ms | 7.3±0.23ms | +1.39% | | write_read/netgear_ax6100v2 | **1284.5±3.55ms** | 1295.3±4.24ms | **+0.84%** | | write_read/tplink_ax1800 | **7.2±0.02s** | 7.3±0.02s | **+1.39%** |