You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Ji Liu (Jira)" <ji...@apache.org> on 2019/09/27 09:14:00 UTC
[jira] [Updated] (ARROW-6721) [JAVA] Avro adapter benchmark only
runs once in JMH
[ https://issues.apache.org/jira/browse/ARROW-6721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ji Liu updated ARROW-6721:
--------------------------
Parent: ARROW-5845
Issue Type: Sub-task (was: Bug)
> [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
>
> 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)