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

[JAVA] Avro adapter benchmark only runs once in JMH #23064

Closed
Tracked by #22264
asfimport opened this issue Sep 27, 2019 · 1 comment
Closed
Tracked by #22264

[JAVA] Avro adapter benchmark only runs once in JMH #23064

asfimport opened this issue Sep 27, 2019 · 1 comment

Comments

@asfimport
Copy link

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.

Reporter: Ji Liu / @tianchen92
Assignee: Ji Liu / @tianchen92

PRs and other links:

Note: This issue was originally created as ARROW-6721. Please see the migration documentation for further details.

@asfimport
Copy link
Author

Micah Kornfield / @emkornfield:
Issue resolved by pull request 5524
#5524

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

No branches or pull requests

2 participants