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

Handle frame timeout logic in response future #216

Merged
merged 3 commits into from
Jun 28, 2024

Conversation

jamwaffles
Copy link
Collaborator

@jamwaffles jamwaffles commented Jun 28, 2024

As opposed to using a for loop. This change results in a slight reduction in binary size which was the goal of the PR.

Master:

   text    data     bss     dec     hex filename
  99472     112   57800  157384   266c8 ethercrab-stm32-embassy

This commit:

   text    data     bss     dec     hex filename
  99316     112   57800  157228   2662c ethercrab-stm32-embassy

As well as a ~10% improvement in throughput in the pdu_loop benchmark as a nice bonus.

A slight reduction in binary size

Master:

```
   text    data     bss     dec     hex filename
  99472     112   57800  157384   266c8 ethercrab-stm32-embassy
```

This commit:

```
   text    data     bss     dec     hex filename
  99316     112   57800  157228   2662c ethercrab-stm32-embassy
```

This change also results in a ~10% improvement in throughput with the `pdu_loop` benchmark.
@jamwaffles jamwaffles enabled auto-merge (squash) June 28, 2024 11:13
@jamwaffles jamwaffles merged commit bb6bc67 into master Jun 28, 2024
8 checks passed
@jamwaffles jamwaffles deleted the timeout-in-frame-future branch June 28, 2024 11:21
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