You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Ji Liu (Jira)" <ji...@apache.org> on 2019/09/27 09:10:00 UTC
[jira] [Created] (ARROW-6721) [JAVA] Avro adapter benchmark only
runs once in JMH
Ji Liu created ARROW-6721:
-----------------------------
Summary: [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: Bug
Components: Java
Reporter: Ji Liu
Assignee: Ji Liu
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)