Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused DekuWrite trait #419

Merged
merged 1 commit into from May 14, 2024
Merged

Conversation

wcampbell0x2a
Copy link
Collaborator

@wcampbell0x2a wcampbell0x2a commented Feb 10, 2024

These are now unused, because internally we just now use DekuWriter

Copy link

Benchmark for 53caf58

Click to view benchmark
Test Base PR %
deku_read_bits 1223.5±14.65ns 1158.5±16.13ns -5.31%
deku_read_byte 5.8±0.16ns 5.8±0.05ns 0.00%
deku_read_enum 2.9±0.04ns 2.9±0.04ns 0.00%
deku_read_vec 36.6±1.06ns 36.4±0.38ns -0.55%
deku_write_bits 175.2±3.55ns 174.4±2.38ns -0.46%
deku_write_byte 21.1±0.43ns 21.1±0.47ns 0.00%
deku_write_enum 20.4±0.19ns 20.5±0.31ns +0.49%
deku_write_vec 438.4±2.63ns 287.9±5.82ns -34.33%

@sharksforarms
Copy link
Owner

@wcampbell0x2a no longer sure of the status on this one

Base automatically changed from impl-writer-inline-read-bytes to master April 30, 2024 00:25
@wcampbell0x2a
Copy link
Collaborator Author

@wcampbell0x2a no longer sure of the status on this one

Now it's updated

Copy link

github-actions bot commented May 2, 2024

Benchmark for 2867195

Click to view benchmark
Test Base PR %
deku_read_bits 1161.1±15.39ns 1186.5±14.93ns +2.19%
deku_read_byte 5.5±0.15ns 5.4±0.13ns -1.82%
deku_read_enum 2.9±0.06ns 2.6±0.08ns -10.34%
deku_read_vec 36.1±0.58ns 36.5±0.75ns +1.11%
deku_write_bits 163.3±3.82ns 154.0±3.92ns -5.70%
deku_write_byte 22.1±0.94ns 22.1±0.39ns 0.00%
deku_write_enum 20.8±0.34ns 20.8±0.45ns 0.00%
deku_write_vec 298.4±2.70ns 286.0±4.77ns -4.16%

@sharksforarms
Copy link
Owner

@wcampbell0x2a could you update the PR description? Why are these unused?

@wcampbell0x2a wcampbell0x2a merged commit bd352e5 into master May 14, 2024
11 of 13 checks passed
@wcampbell0x2a wcampbell0x2a deleted the remove-unused-deku-write branch May 14, 2024 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants