issues
search
sharksforarms
/
deku
Declarative binary reading and writing: bit-level, symmetric, serialization/deserialization
Apache License 2.0
1.14k
stars
55
forks
source link
r0.18.1
#480
Closed
sharksforarms
closed
2 months ago
github-actions[bot]
commented
2 months ago
Benchmark for 705ef09
Click to view benchmark
| Test | Base | PR | % | |------|--------------|------------------|---| | count | 5.0±0.02µs | 5.0±0.01µs | 0.00% | | deku_read_bits | 1168.3±67.18ns | 1171.8±32.45ns | +0.30% | | deku_read_byte | **5.2±0.04ns** | 5.9±0.08ns | **+13.46%** | | deku_read_enum | **4.4±0.06ns** | 5.2±0.05ns | **+18.18%** | | deku_read_vec | **41.6±0.35ns** | 42.2±1.29ns | **+1.44%** | | deku_write_bits | 182.0±3.86ns | 181.5±3.43ns | -0.27% | | deku_write_byte | 24.7±0.76ns | 24.6±0.51ns | -0.40% | | deku_write_enum | 22.7±0.41ns | 22.7±0.36ns | 0.00% | | deku_write_vec | 420.3±4.93ns | 425.0±13.92ns | +1.12% | | read_all | 5.6±0.13µs | 5.6±0.09µs | 0.00% | | read_all_bytes | 5.6±0.02µs | **5.5±0.07µs** | **-1.79%** |
Benchmark for 705ef09
Click to view benchmark
| Test | Base | PR | % | |------|--------------|------------------|---| | count | 5.0±0.02µs | 5.0±0.01µs | 0.00% | | deku_read_bits | 1168.3±67.18ns | 1171.8±32.45ns | +0.30% | | deku_read_byte | **5.2±0.04ns** | 5.9±0.08ns | **+13.46%** | | deku_read_enum | **4.4±0.06ns** | 5.2±0.05ns | **+18.18%** | | deku_read_vec | **41.6±0.35ns** | 42.2±1.29ns | **+1.44%** | | deku_write_bits | 182.0±3.86ns | 181.5±3.43ns | -0.27% | | deku_write_byte | 24.7±0.76ns | 24.6±0.51ns | -0.40% | | deku_write_enum | 22.7±0.41ns | 22.7±0.36ns | 0.00% | | deku_write_vec | 420.3±4.93ns | 425.0±13.92ns | +1.12% | | read_all | 5.6±0.13µs | 5.6±0.09µs | 0.00% | | read_all_bytes | 5.6±0.02µs | **5.5±0.07µs** | **-1.79%** |