[
https://issues.apache.org/jira/browse/ARROW-6721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated ARROW-6721:
----------------------------------
Labels: pull-request-available (was: )
> [JAVA] Avro adapter benchmark only runs once in JMH
> ---------------------------------------------------
>
> Key: ARROW-6721
> URL: https://issues.apache.org/jira/browse/ARROW-6721
> Project: Apache Arrow
> Issue Type: Sub-task
> Components: Java
> Reporter: Ji Liu
> Assignee: Ji Liu
> Priority: Minor
> Labels: pull-request-available
>
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)