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 got/expected fields from WireError buffer size variants #218

Merged
merged 11 commits into from
Jun 28, 2024

Conversation

jamwaffles
Copy link
Collaborator

@jamwaffles jamwaffles commented Jun 28, 2024

And other small optimisations

master:

   text    data     bss     dec     hex filename
  97496     112   57800  155408   25f10 ethercrab-stm32-embassy

This branch:

   text    data     bss     dec     hex filename
  96588     112   57800  154500   25b84 ethercrab-stm32-embassy

   text    data     bss     dec     hex filename
  97096     112   57800  155008   25d80 ethercrab-stm32-embassy

Roughly 8% slower in benchmarks though :(
   text    data     bss     dec     hex filename
  96820     112   57800  154732   25c6c ethercrab-stm32-embassy
   text    data     bss     dec     hex filename
  96788     112   57800  154700   25c4c ethercrab-stm32-embassy

Down to about ~8% performance loss compared to `master`
   text    data     bss     dec     hex filename
  96668     112   57800  154580   25bd4 ethercrab-stm32-embassy
   text    data     bss     dec     hex filename
  96588     112   57800  154500   25b84 ethercrab-stm32-embassy
@jamwaffles jamwaffles changed the title Some small optimisations Remove got/expected fields from WireError buffer size variants Jun 28, 2024
@jamwaffles jamwaffles marked this pull request as ready for review June 28, 2024 14:58
@jamwaffles jamwaffles enabled auto-merge (squash) June 28, 2024 14:58
@jamwaffles jamwaffles merged commit ffadca6 into master Jun 28, 2024
8 checks passed
@jamwaffles jamwaffles deleted the small-optimisations branch June 28, 2024 15:01
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.

1 participant