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

iperf_time_add() optimization #1742

Merged

Conversation

davidBar-On
Copy link
Contributor

  • Version of iperf3 (or development branch, such as master or
    3.1-STABLE) to which this pull request applies:
    master

  • Issues fixed (if any): None

  • Brief description of code changes (suitable for use as a commit message):
    Optimizing iperf_time_add() by reducing operations using pointers and division/modulus calculations. Impact is mainly to short periodic timers, although I am not sure it will practically enhance the iperf3 performance in these cases.

@bmah888 bmah888 self-assigned this Aug 26, 2024
Copy link
Contributor

@bmah888 bmah888 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! This looks good and appears to function correctly.

@bmah888 bmah888 merged commit 5bf93d6 into esnet:master Aug 26, 2024
3 checks passed
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.

2 participants