issues
search
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
backhand: Improve performance
#504
Closed
wcampbell0x2a
closed
7 months ago
wcampbell0x2a
commented
7 months ago
backhand: Use RwLock for fragment cache
reader: Reduce copy_from_slice fragment amount
unsquashfs: Add BufReader and BufWriter to io
github-actions[bot]
commented
7 months ago
Benchmark for 7741a92
Click to view benchmark
| Test | Base | PR | % | |------|--------------|------------------|---| | only_read/netgear_ax6100v2 | 2.8±0.00ms | 2.8±0.00ms | 0.00% | | only_read/tplink_ax1800 | 7.2±0.02ms | 7.2±0.01ms | 0.00% | | unsquashfs/full | 10.4±0.17ms | 10.3±0.15ms | -0.96% | | unsquashfs/full-path-filter | 7.0±0.08ms | 7.0±0.08ms | 0.00% | | unsquashfs/list | 8.3±0.10ms | 8.3±0.08ms | 0.00% | | unsquashfs/list-path-filter | 7.4±0.10ms | 7.3±0.20ms | -1.35% | | write_read/netgear_ax6100v2 | 1296.8±14.29ms | 1298.9±9.97ms | +0.16% | | write_read/tplink_ax1800 | 7.2±0.03s | **7.1±0.03s** | **-1.39%** |
github-actions[bot]
commented
7 months ago
Benchmark for f44c549
Click to view benchmark
| Test | Base | PR | % | |------|--------------|------------------|---| | only_read/netgear_ax6100v2 | 2.8±0.00ms | 2.8±0.00ms | 0.00% | | only_read/tplink_ax1800 | 7.2±0.00ms | 7.2±0.01ms | 0.00% | | unsquashfs/full | **10.1±0.12ms** | 11.2±0.16ms | **+10.89%** | | unsquashfs/full-path-filter | **6.8±0.04ms** | 7.9±0.06ms | **+16.18%** | | unsquashfs/list | **8.1±0.08ms** | 8.2±0.08ms | **+1.23%** | | unsquashfs/list-path-filter | **7.2±0.04ms** | 7.3±0.04ms | **+1.39%** | | write_read/netgear_ax6100v2 | **1285.4±3.71ms** | 2.0±0.01s | **+55.59%** | | write_read/tplink_ax1800 | 7.0±0.01s | **10.0±0.01s** | **42.86%** |
github-actions[bot]
commented
7 months ago
Benchmark for ec35441
Click to view benchmark
| Test | Base | PR | % | |------|--------------|------------------|---| | only_read/netgear_ax6100v2 | 2.8±0.01ms | 2.8±0.00ms | 0.00% | | only_read/tplink_ax1800 | 7.2±0.10ms | 7.2±0.01ms | 0.00% | | unsquashfs/full | **10.1±0.15ms** | 11.2±0.10ms | **+10.89%** | | unsquashfs/full-path-filter | **6.8±0.05ms** | 7.9±0.08ms | **+16.18%** | | unsquashfs/list | **8.1±0.05ms** | 8.2±0.06ms | **+1.23%** | | unsquashfs/list-path-filter | **7.2±0.05ms** | 7.3±0.05ms | **+1.39%** | | write_read/netgear_ax6100v2 | **1281.5±4.24ms** | 2.0±0.00s | **+56.07%** | | write_read/tplink_ax1800 | 7.0±0.01s | **10.0±0.02s** | **42.86%** |
github-actions[bot]
commented
7 months ago
Benchmark for 8b76289
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.2±0.01ms** | 7.3±0.05ms | **+1.39%** | | unsquashfs/full | **10.2±0.17ms** | 11.7±0.20ms | **+14.71%** | | unsquashfs/full-path-filter | **6.8±0.06ms** | 8.4±0.14ms | **+23.53%** | | unsquashfs/list | **8.1±0.04ms** | 8.8±0.17ms | **+8.64%** | | unsquashfs/list-path-filter | **7.2±0.05ms** | 8.0±0.13ms | **+11.11%** | | write_read/netgear_ax6100v2 | 1324.8±31.57ms | **1271.6±0.86ms** | **-4.02%** | | write_read/tplink_ax1800 | **7.1±0.03s** | 7.2±0.19s | **+1.41%** |
github-actions[bot]
commented
7 months ago
Benchmark for 64a662d
Click to view benchmark
| Test | Base | PR | % | |------|--------------|------------------|---| | only_read/netgear_ax6100v2 | 2.8±0.01ms | 2.8±0.00ms | 0.00% | | only_read/tplink_ax1800 | 7.2±0.01ms | 7.2±0.01ms | 0.00% | | unsquashfs/full | **10.3±0.11ms** | 11.5±0.18ms | **+11.65%** | | unsquashfs/full-path-filter | **7.0±0.11ms** | 8.1±0.09ms | **+15.71%** | | unsquashfs/list | **8.2±0.12ms** | 8.4±0.11ms | **+2.44%** | | unsquashfs/list-path-filter | **7.3±0.05ms** | 7.5±0.06ms | **+2.74%** | | write_read/netgear_ax6100v2 | 1292.4±2.35ms | **1287.1±4.64ms** | **-0.41%** | | write_read/tplink_ax1800 | 7.2±0.04s | 7.2±0.05s | 0.00% |
github-actions[bot]
commented
7 months ago
Benchmark for 40477bb
Click to view benchmark
| Test | Base | PR | % | |------|--------------|------------------|---| | only_read/netgear_ax6100v2 | 2.8±0.00ms | 2.8±0.01ms | 0.00% | | only_read/tplink_ax1800 | 7.2±0.01ms | 7.2±0.01ms | 0.00% | | unsquashfs/full | **10.1±0.10ms** | 11.2±0.10ms | **+10.89%** | | unsquashfs/full-path-filter | **6.9±0.05ms** | 8.0±0.05ms | **+15.94%** | | unsquashfs/list | 8.2±0.24ms | 8.2±0.05ms | 0.00% | | unsquashfs/list-path-filter | **7.2±0.09ms** | 7.3±0.05ms | **+1.39%** | | write_read/netgear_ax6100v2 | 1284.5±2.67ms | **1271.1±0.84ms** | **-1.04%** | | write_read/tplink_ax1800 | 7.0±0.01s | 7.0±0.01s | 0.00% |
github-actions[bot]
commented
7 months ago
Benchmark for 53cfd89
Click to view benchmark
| Test | Base | PR | % | |------|--------------|------------------|---| | only_read/netgear_ax6100v2 | 2.8±0.00ms | 2.8±0.01ms | 0.00% | | only_read/tplink_ax1800 | 7.2±0.00ms | 7.2±0.10ms | 0.00% | | unsquashfs/full | **10.3±0.18ms** | 11.5±0.20ms | **+11.65%** | | unsquashfs/full-path-filter | **7.0±0.12ms** | 8.4±0.09ms | **+20.00%** | | unsquashfs/list | **8.2±0.07ms** | 8.6±0.07ms | **+4.88%** | | unsquashfs/list-path-filter | **7.2±0.13ms** | 7.6±0.06ms | **+5.56%** | | write_read/netgear_ax6100v2 | 1297.2±11.03ms | **1276.0±3.14ms** | **-1.63%** | | write_read/tplink_ax1800 | 7.1±0.10s | 7.1±0.03s | 0.00% |
github-actions[bot]
commented
7 months ago
Benchmark for 880aaf2
Click to view benchmark
| Test | Base | PR | % | |------|--------------|------------------|---| | only_read/netgear_ax6100v2 | 2.8±0.00ms | 2.8±0.00ms | 0.00% | | only_read/tplink_ax1800 | 7.2±0.02ms | 7.2±0.02ms | 0.00% | | unsquashfs/full | **10.2±0.12ms** | 11.4±0.20ms | **+11.76%** | | unsquashfs/full-path-filter | **7.0±0.10ms** | 8.1±0.09ms | **+15.71%** | | unsquashfs/list | **8.2±0.11ms** | 8.3±0.06ms | **+1.22%** | | unsquashfs/list-path-filter | **7.3±0.06ms** | 7.4±0.06ms | **+1.37%** | | write_read/netgear_ax6100v2 | 1295.4±8.31ms | **1278.0±3.83ms** | **-1.34%** | | write_read/tplink_ax1800 | 7.1±0.02s | **7.0±0.03s** | **-1.41%** |
github-actions[bot]
commented
7 months ago
Benchmark for 2052588
Click to view benchmark
| Test | Base | PR | % | |------|--------------|------------------|---| | only_read/netgear_ax6100v2 | 2.8±0.00ms | 2.8±0.01ms | 0.00% | | only_read/tplink_ax1800 | 7.3±0.01ms | 7.3±0.02ms | 0.00% | | unsquashfs/full | **10.6±0.12ms** | 11.8±0.22ms | **+11.32%** | | unsquashfs/full-path-filter | **7.1±0.12ms** | 8.4±0.11ms | **+18.31%** | | unsquashfs/list | **8.3±0.08ms** | 8.7±0.15ms | **+4.82%** | | unsquashfs/list-path-filter | **7.4±0.07ms** | 7.8±0.13ms | **+5.41%** | | write_read/netgear_ax6100v2 | 1299.8±2.63ms | **1289.7±3.66ms** | **-0.78%** | | write_read/tplink_ax1800 | 7.4±0.10s | **7.1±0.06s** | **-4.05%** |
github-actions[bot]
commented
7 months ago
Benchmark for 56ae471
Click to view benchmark
| Test | Base | PR | % | |------|--------------|------------------|---| | only_read/netgear_ax6100v2 | 2.8±0.01ms | 2.8±0.00ms | 0.00% | | only_read/tplink_ax1800 | 7.2±0.01ms | 7.2±0.01ms | 0.00% | | unsquashfs/full | **10.7±0.16ms** | 11.3±0.12ms | **+5.61%** | | unsquashfs/full-path-filter | **7.2±0.17ms** | 8.2±0.14ms | **+13.89%** | | unsquashfs/list | 8.4±0.14ms | **8.3±0.08ms** | **-1.19%** | | unsquashfs/list-path-filter | **7.4±0.25ms** | 7.7±0.14ms | **+4.05%** | | write_read/netgear_ax6100v2 | 1293.9±7.99ms | 1300.4±9.64ms | +0.50% | | write_read/tplink_ax1800 | 7.2±0.09s | **7.1±0.02s** | **-1.39%** |
github-actions[bot]
commented
7 months ago
Benchmark for 540e598
Click to view benchmark
| Test | Base | PR | % | |------|--------------|------------------|---| | only_read/netgear_ax6100v2 | 2.8±0.00ms | 2.8±0.01ms | 0.00% | | only_read/tplink_ax1800 | 7.3±0.02ms | 7.3±0.02ms | 0.00% | | unsquashfs/full | **10.2±0.14ms** | 11.3±0.14ms | **+10.78%** | | unsquashfs/full-path-filter | **7.0±0.07ms** | 8.0±0.08ms | **+14.29%** | | unsquashfs/list | **8.2±0.05ms** | 8.3±0.08ms | **+1.22%** | | unsquashfs/list-path-filter | **7.2±0.04ms** | 7.5±0.08ms | **+4.17%** | | write_read/netgear_ax6100v2 | 1282.1±6.53ms | **1274.4±3.38ms** | **-0.60%** | | write_read/tplink_ax1800 | 7.0±0.01s | 7.0±0.02s | 0.00% |
github-actions[bot]
commented
7 months ago
Benchmark for bb1c02b
Click to view benchmark
| Test | Base | PR | % | |------|--------------|------------------|---| | only_read/netgear_ax6100v2 | 2.8±0.00ms | 2.8±0.00ms | 0.00% | | only_read/tplink_ax1800 | 7.1±0.01ms | 7.1±0.02ms | 0.00% | | unsquashfs/full | **10.2±0.14ms** | 11.3±0.18ms | **+10.78%** | | unsquashfs/full-path-filter | **6.8±0.05ms** | 7.9±0.07ms | **+16.18%** | | unsquashfs/list | **8.1±0.05ms** | 8.2±0.17ms | **+1.23%** | | unsquashfs/list-path-filter | 7.2±0.03ms | 7.2±0.04ms | 0.00% | | write_read/netgear_ax6100v2 | 1283.9±4.12ms | **1274.7±4.66ms** | **-0.72%** | | write_read/tplink_ax1800 | **7.0±0.02s** | 7.1±0.06s | **+1.43%** |
github-actions[bot]
commented
7 months ago
Benchmark for d09bfc4
Click to view benchmark
| Test | Base | PR | % | |------|--------------|------------------|---| | only_read/netgear_ax6100v2 | **2.7±0.00ms** | 2.8±0.01ms | **+3.70%** | | only_read/tplink_ax1800 | 7.1±0.02ms | 7.1±0.02ms | 0.00% | | unsquashfs/full | **10.3±0.17ms** | 11.4±0.15ms | **+10.68%** | | unsquashfs/full-path-filter | **6.9±0.16ms** | 7.9±0.09ms | **+14.49%** | | unsquashfs/list | 8.3±0.18ms | 8.2±0.15ms | -1.20% | | unsquashfs/list-path-filter | 7.3±0.12ms | **7.2±0.05ms** | **-1.37%** | | write_read/netgear_ax6100v2 | 1285.5±2.09ms | **1280.6±4.39ms** | **-0.38%** | | write_read/tplink_ax1800 | 7.1±0.01s | 7.1±0.02s | 0.00% |
github-actions[bot]
commented
7 months ago
Benchmark for 382a1ab
Click to view benchmark
| Test | Base | PR | % | |------|--------------|------------------|---| | only_read/netgear_ax6100v2 | 2.7±0.03ms | 2.7±0.03ms | 0.00% | | only_read/tplink_ax1800 | 7.0±0.05ms | 7.0±0.06ms | 0.00% | | unsquashfs/full | **10.0±0.19ms** | 11.0±0.18ms | **+10.00%** | | unsquashfs/full-path-filter | **6.8±0.07ms** | 7.8±0.07ms | **+14.71%** | | unsquashfs/list | **8.1±0.06ms** | 8.2±0.04ms | **+1.23%** | | unsquashfs/list-path-filter | 7.2±0.03ms | 7.2±0.05ms | 0.00% | | write_read/netgear_ax6100v2 | 1317.9±7.87ms | **1260.4±7.74ms** | **-4.36%** | | write_read/tplink_ax1800 | 7.0±0.04s | 7.0±0.04s | 0.00% |
github-actions[bot]
commented
7 months ago
Benchmark for a075497
Click to view benchmark
| Test | Base | PR | % | |------|--------------|------------------|---| | only_read/netgear_ax6100v2 | 2.8±0.00ms | **2.7±0.00ms** | **-3.57%** | | only_read/tplink_ax1800 | 7.1±0.01ms | 7.1±0.01ms | 0.00% | | unsquashfs/full | **10.2±0.12ms** | 11.2±0.11ms | **+9.80%** | | unsquashfs/full-path-filter | **6.9±0.07ms** | 7.9±0.08ms | **+14.49%** | | unsquashfs/list | **8.1±0.08ms** | 8.2±0.07ms | **+1.23%** | | unsquashfs/list-path-filter | 7.2±0.11ms | 7.2±0.05ms | 0.00% | | write_read/netgear_ax6100v2 | 1285.6±5.02ms | **1275.4±7.52ms** | **-0.79%** | | write_read/tplink_ax1800 | 7.1±0.01s | **7.0±0.03s** | **-1.41%** |
github-actions[bot]
commented
7 months ago
Benchmark for f2076e6
Click to view benchmark
| Test | Base | PR | % | |------|--------------|------------------|---| | only_read/netgear_ax6100v2 | 2.8±0.01ms | **2.7±0.00ms** | **-3.57%** | | only_read/tplink_ax1800 | 7.1±0.01ms | 7.1±0.01ms | 0.00% | | unsquashfs/full | **10.3±0.18ms** | 11.3±0.12ms | **+9.71%** | | unsquashfs/full-path-filter | **6.9±0.06ms** | 7.9±0.07ms | **+14.49%** | | unsquashfs/list | 8.3±0.10ms | 8.3±0.09ms | 0.00% | | unsquashfs/list-path-filter | 7.4±0.10ms | 7.5±0.28ms | +1.35% | | write_read/netgear_ax6100v2 | 1287.8±3.79ms | 1288.1±10.52ms | +0.02% | | write_read/tplink_ax1800 | 7.1±0.04s | 7.1±0.04s | 0.00% |
github-actions[bot]
commented
7 months ago
Benchmark for 5eaaa6f
Click to view benchmark
| Test | Base | PR | % | |------|--------------|------------------|---| | only_read/netgear_ax6100v2 | 2.8±0.00ms | **2.7±0.00ms** | **-3.57%** | | only_read/tplink_ax1800 | 7.1±0.01ms | 7.1±0.01ms | 0.00% | | unsquashfs/full | **10.1±0.10ms** | 11.1±0.13ms | **+9.90%** | | unsquashfs/full-path-filter | **6.9±0.05ms** | 7.8±0.04ms | **+13.04%** | | unsquashfs/list | **8.1±0.04ms** | 8.2±0.05ms | **+1.23%** | | unsquashfs/list-path-filter | 7.2±0.03ms | 7.2±0.04ms | 0.00% | | write_read/netgear_ax6100v2 | 1283.2±3.74ms | **1275.5±2.70ms** | **-0.60%** | | write_read/tplink_ax1800 | 7.0±0.00s | 7.0±0.01s | 0.00% |
github-actions[bot]
commented
7 months ago
Benchmark for 6b53b1f
Click to view benchmark
| Test | Base | PR | % | |------|--------------|------------------|---| | only_read/netgear_ax6100v2 | 2.8±0.00ms | 2.8±0.01ms | 0.00% | | only_read/tplink_ax1800 | 7.1±0.01ms | 7.1±0.01ms | 0.00% | | unsquashfs/full | **10.2±0.17ms** | 11.2±0.16ms | **+9.80%** | | unsquashfs/full-path-filter | **6.9±0.06ms** | 7.9±0.06ms | **+14.49%** | | unsquashfs/list | 8.2±0.09ms | 8.2±0.10ms | 0.00% | | unsquashfs/list-path-filter | **7.2±0.04ms** | 7.3±0.04ms | **+1.39%** | | write_read/netgear_ax6100v2 | 1283.7±1.98ms | **1278.5±2.14ms** | **-0.41%** | | write_read/tplink_ax1800 | 7.0±0.01s | 7.0±0.01s | 0.00% |
github-actions[bot]
commented
7 months ago
Benchmark for ac78a63
Click to view benchmark
| Test | Base | PR | % | |------|--------------|------------------|---| | only_read/netgear_ax6100v2 | 2.8±0.01ms | 2.8±0.00ms | 0.00% | | only_read/tplink_ax1800 | **7.1±0.01ms** | 7.2±0.01ms | **+1.41%** | | unsquashfs/full | **10.7±0.22ms** | 11.2±0.17ms | **+4.67%** | | unsquashfs/full-path-filter | **7.1±0.12ms** | 7.8±0.05ms | **+9.86%** | | unsquashfs/list | 8.2±0.07ms | 8.2±0.07ms | 0.00% | | unsquashfs/list-path-filter | 7.2±0.16ms | 7.2±0.03ms | 0.00% | | write_read/netgear_ax6100v2 | 1282.5±3.67ms | **1272.5±4.05ms** | **-0.78%** | | write_read/tplink_ax1800 | 7.1±0.04s | 7.1±0.05s | 0.00% |
github-actions[bot]
commented
7 months ago
Benchmark for 4127cd5
Click to view benchmark
| Test | Base | PR | % | |------|--------------|------------------|---| | only_read/netgear_ax6100v2 | 2.8±0.03ms | 2.8±0.00ms | 0.00% | | only_read/tplink_ax1800 | 7.1±0.01ms | 7.1±0.01ms | 0.00% | | unsquashfs/full | **10.2±0.13ms** | 11.2±0.23ms | **+9.80%** | | unsquashfs/full-path-filter | **6.9±0.05ms** | 7.8±0.07ms | **+13.04%** | | unsquashfs/list | 8.2±0.07ms | 8.2±0.06ms | 0.00% | | unsquashfs/list-path-filter | 7.2±0.10ms | 7.2±0.07ms | 0.00% | | write_read/netgear_ax6100v2 | 1288.5±2.09ms | **1276.3±4.77ms** | **-0.95%** | | write_read/tplink_ax1800 | 7.1±0.01s | **7.0±0.01s** | **-1.41%** |
github-actions[bot]
commented
7 months ago
Benchmark for c096e6d
Click to view benchmark
| Test | Base | PR | % | |------|--------------|------------------|---| | only_read/netgear_ax6100v2 | 2.8±0.00ms | 2.8±0.00ms | 0.00% | | only_read/tplink_ax1800 | 7.1±0.01ms | 7.1±0.01ms | 0.00% | | unsquashfs/full | **10.6±0.22ms** | 11.3±0.15ms | **+6.60%** | | unsquashfs/full-path-filter | **7.1±0.17ms** | 8.0±0.12ms | **+12.68%** | | unsquashfs/list | 8.3±0.10ms | **8.2±0.11ms** | **-1.20%** | | unsquashfs/list-path-filter | 7.4±0.09ms | **7.3±0.10ms** | **-1.35%** | | write_read/netgear_ax6100v2 | 1282.7±3.74ms | 1280.0±3.77ms | -0.21% | | write_read/tplink_ax1800 | 7.1±0.04s | 7.1±0.04s | 0.00% |
github-actions[bot]
commented
7 months ago
Benchmark for d857d92
Click to view benchmark
| Test | Base | PR | % | |------|--------------|------------------|---| | only_read/netgear_ax6100v2 | 2.8±0.00ms | 2.8±0.00ms | 0.00% | | only_read/tplink_ax1800 | **7.1±0.01ms** | 7.2±0.01ms | **+1.41%** | | unsquashfs/full | **10.2±0.20ms** | 11.2±0.12ms | **+9.80%** | | unsquashfs/full-path-filter | **6.9±0.04ms** | 8.3±0.16ms | **+20.29%** | | unsquashfs/list | **8.2±0.05ms** | 8.6±0.22ms | **+4.88%** | | unsquashfs/list-path-filter | **7.2±0.06ms** | 7.6±0.38ms | **+5.56%** | | write_read/netgear_ax6100v2 | 1309.6±12.35ms | **1281.5±3.30ms** | **-2.15%** | | write_read/tplink_ax1800 | 7.3±0.14s | **7.0±0.02s** | **-4.11%** |
github-actions[bot]
commented
7 months ago
Benchmark for 3ea5ff8
Click to view benchmark
| Test | Base | PR | % | |------|--------------|------------------|---| | only_read/netgear_ax6100v2 | 2.8±0.07ms | 2.8±0.00ms | 0.00% | | only_read/tplink_ax1800 | 7.1±0.02ms | 7.1±0.01ms | 0.00% | | unsquashfs/full | **10.7±0.20ms** | 11.4±0.17ms | **+6.54%** | | unsquashfs/full-path-filter | **7.2±0.19ms** | 8.0±0.11ms | **+11.11%** | | unsquashfs/list | 8.7±0.10ms | 8.6±0.25ms | -1.15% | | unsquashfs/list-path-filter | 7.7±0.09ms | **7.5±0.10ms** | **-2.60%** | | write_read/netgear_ax6100v2 | 1295.2±4.04ms | **1276.1±2.39ms** | **-1.47%** | | write_read/tplink_ax1800 | 7.2±0.05s | **7.1±0.04s** | **-1.39%** |
github-actions[bot]
commented
7 months ago
Benchmark for 7e04b54
Click to view benchmark
| Test | Base | PR | % | |------|--------------|------------------|---| | only_read/netgear_ax6100v2 | 2.8±0.00ms | **2.7±0.01ms** | **-3.57%** | | only_read/tplink_ax1800 | 7.1±0.01ms | 7.1±0.01ms | 0.00% | | unsquashfs/full | **10.3±0.20ms** | 11.4±0.24ms | **+10.68%** | | unsquashfs/full-path-filter | **6.9±0.09ms** | 7.9±0.19ms | **+14.49%** | | unsquashfs/list | 8.2±0.13ms | 8.3±0.11ms | +1.22% | | unsquashfs/list-path-filter | **7.3±0.11ms** | 7.6±0.17ms | **+4.11%** | | write_read/netgear_ax6100v2 | 1298.4±9.76ms | **1281.8±4.76ms** | **-1.28%** | | write_read/tplink_ax1800 | 7.1±0.07s | 7.1±0.04s | 0.00% |