Skip to content

Fix decoder benchmark. #753

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

Merged
merged 1 commit into from
Feb 17, 2020
Merged

Conversation

js-labs
Copy link
Contributor

@js-labs js-labs commented Feb 17, 2020

The result of the call in the test like
tmpInt = car.serialNumber();
is not used, so the optimizer remove that call from the code at all and test does not really measure what was intended.
There are some ways to avoid this, and the proposed PR fix this problem.

@mjpt777 mjpt777 merged commit d4de4bf into aeron-io:master Feb 17, 2020
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