wcampbell0x2a / backhand

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

Cleanup/Remove root_inode #455

Closed wcampbell0x2a closed 9 months ago

wcampbell0x2a commented 9 months ago

Parse root_inode inside of inodes() to save memory and CPU cycles

Rename private dir_blocks into uncompressed_metadatas

github-actions[bot] commented 9 months ago

Benchmark for bb27427

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | only_read/netgear_ax6100v2 | 2.8±0.01ms | 2.8±0.01ms | 0.00% | | only_read/tplink_ax1800 | **7.3±0.01ms** | 7.4±0.02ms | **+1.37%** | | unsquashfs/full | 11.0±0.25ms | 10.8±0.33ms | -1.82% | | unsquashfs/full-path-filter | 7.4±0.15ms | **7.1±0.11ms** | **-4.05%** | | unsquashfs/list | 8.6±0.14ms | **8.4±0.08ms** | **-2.33%** | | unsquashfs/list-path-filter | 7.6±0.09ms | **7.5±0.13ms** | **-1.32%** | | write_read/netgear_ax6100v2 | **1289.4±3.21ms** | 1318.9±9.02ms | **+2.29%** | | write_read/tplink_ax1800 | **7.1±0.02s** | 7.3±0.08s | **+2.82%** |