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

ARROW-6721: [JAVA] Avro adapter benchmark only runs once in JMH #5524

Closed
wants to merge 1 commit into from

Conversation

tianchen92
Copy link
Contributor

Related to ARROW-6721.

The current AvroAdapterBenchmark actually only run once during JMH evaluation, since the decoder was consumed for the first time and the follow-up invokes will directly return.

To solve this, we use BinaryDecoder explicitly in benchmark and reset its inner stream first when the test method is invoked.

@github-actions
Copy link

@emkornfield
Copy link
Contributor

We should try to rerun the failed job to make sure the timeout doesn't repeat

@tianchen92 tianchen92 closed this Oct 5, 2019
@tianchen92 tianchen92 reopened this Oct 5, 2019
@tianchen92
Copy link
Contributor Author

build passed, seems previous failure is unrelated.

@emkornfield
Copy link
Contributor

+1, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants