sharksforarms / deku

Declarative binary reading and writing: bit-level, symmetric, serialization/deserialization
Apache License 2.0
1.14k stars 55 forks source link

Release 0.18 #477

Closed sharksforarms closed 2 months ago

sharksforarms commented 2 months ago

release prep

github-actions[bot] commented 2 months ago

Benchmark for f37df23

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | count | 5.0±0.01µs | 5.0±0.01µs | 0.00% | | deku_read_bits | 1171.6±26.66ns | **1153.0±17.25ns** | **-1.59%** | | deku_read_byte | **3.1±0.28ns** | 3.2±0.03ns | **+3.23%** | | deku_read_enum | 3.2±0.04ns | **3.1±0.03ns** | **-3.13%** | | deku_read_vec | **42.2±0.42ns** | 42.5±0.21ns | **+0.71%** | | deku_write_bits | 193.1±5.76ns | 195.2±3.74ns | +1.09% | | deku_write_byte | **24.3±0.24ns** | 24.6±0.41ns | **+1.23%** | | deku_write_enum | 23.0±0.35ns | 23.0±0.43ns | 0.00% | | deku_write_vec | 412.0±6.91ns | 410.4±6.40ns | -0.39% | | read_all | 5.5±0.02µs | 5.5±0.02µs | 0.00% | | read_all_bytes | 3.8±0.07µs | **3.7±0.07µs** | **-2.63%** |
github-actions[bot] commented 2 months ago

Benchmark for 50b1273

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | count | 5.0±0.01µs | 5.0±0.01µs | 0.00% | | deku_read_bits | 1157.8±22.90ns | 1161.0±21.04ns | +0.28% | | deku_read_byte | **3.1±0.09ns** | 3.2±0.05ns | **+3.23%** | | deku_read_enum | 3.2±0.03ns | **3.1±0.05ns** | **-3.13%** | | deku_read_vec | **42.2±0.35ns** | 56.4±0.07ns | **+33.65%** | | deku_write_bits | 200.0±8.52ns | **175.7±3.77ns** | **-12.15%** | | deku_write_byte | **24.4±0.41ns** | 33.6±0.29ns | **+37.70%** | | deku_write_enum | **23.0±0.36ns** | 26.0±0.54ns | **+13.04%** | | deku_write_vec | 436.1±5.12ns | **421.5±6.57ns** | **-3.35%** | | read_all | 5.6±0.02µs | **3.8±0.05µs** | **-32.14%** | | read_all_bytes | **3.8±0.04µs** | 5.5±0.01µs | **+44.74%** |
sharksforarms commented 2 months ago

@wcampbell0x2a done

github-actions[bot] commented 2 months ago

Benchmark for 1b9bbc5

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | count | 5.0±0.10µs | 5.0±0.01µs | 0.00% | | deku_read_bits | 1246.7±15.49ns | **1174.7±15.08ns** | **-5.78%** | | deku_read_byte | **5.2±0.09ns** | 5.9±0.03ns | **+13.46%** | | deku_read_enum | **4.4±0.03ns** | 4.7±0.02ns | **+6.82%** | | deku_read_vec | **41.6±0.38ns** | 42.5±0.21ns | **+2.16%** | | deku_write_bits | 190.7±4.93ns | 188.6±4.61ns | -1.10% | | deku_write_byte | 24.8±0.32ns | 24.9±0.42ns | +0.40% | | deku_write_enum | **23.0±0.45ns** | 28.4±0.40ns | **+23.48%** | | deku_write_vec | 413.1±4.55ns | 416.3±6.47ns | +0.77% | | read_all | 5.5±0.01µs | **3.7±0.04µs** | **-32.73%** | | read_all_bytes | 5.5±0.02µs | **3.8±0.07µs** | **-30.91%** |
wcampbell0x2a commented 2 months ago

I think https://github.com/sharksforarms/deku/pull/461 wasn't released last time either? Could deserve a mention.

github-actions[bot] commented 2 months ago

Benchmark for b2b1481

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | count | 5.0±0.01µs | 5.0±0.01µs | 0.00% | | deku_read_bits | 1220.6±19.19ns | 1220.2±9.51ns | -0.03% | | deku_read_byte | 6.1±0.05ns | 6.1±0.22ns | 0.00% | | deku_read_enum | 4.5±0.04ns | 4.5±0.06ns | 0.00% | | deku_read_vec | 42.6±0.23ns | 42.6±0.52ns | 0.00% | | deku_write_bits | 185.8±4.77ns | 183.6±3.74ns | -1.18% | | deku_write_byte | 24.9±0.48ns | 24.9±0.25ns | 0.00% | | deku_write_enum | 22.9±0.15ns | 23.0±0.20ns | +0.44% | | deku_write_vec | **414.9±6.88ns** | 423.7±7.30ns | **+2.12%** | | read_all | 5.5±0.03µs | 5.5±0.10µs | 0.00% | | read_all_bytes | 5.5±0.03µs | 5.5±0.05µs | 0.00% |