[ 
https://issues.apache.org/jira/browse/HIVE-12086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14953235#comment-14953235
 ] 

Prasanth Jayachandran edited comment on HIVE-12086 at 10/12/15 3:53 PM:
------------------------------------------------------------------------

java version "1.8.0_60"

{code:title=ByteArrayInputStream}
Benchmark                           Mode  Cnt         Score        Error  Units
FloatReader.testReadFloat          thrpt   50  21298626.729 ± 222871.270  ops/s
FloatReader.testReadFloatBuffered  thrpt   50  21532445.861 ± 199655.972  ops/s
{code}

{code:title=InStream}
Benchmark                              Mode  Cnt         Score        Error  
Units
FloatReaderOrc.testReadFloat          thrpt   50  14094447.673 ± 118479.602  
ops/s
FloatReaderOrc.testReadFloatBuffered  thrpt   50  14032977.620 ± 100002.271  
ops/s
{code}


was (Author: prasanth_j):
java version "1.8.0_60"

Benchmark                              Mode  Cnt         Score        Error  
Units
FloatReaderOrc.testReadFloat          thrpt   50  14094447.673 ± 118479.602  
ops/s
FloatReaderOrc.testReadFloatBuffered  thrpt   50  14032977.620 ± 100002.271  
ops/s


> ORC: Buffered float readers to remove vtable thunks
> ---------------------------------------------------
>
>                 Key: HIVE-12086
>                 URL: https://issues.apache.org/jira/browse/HIVE-12086
>             Project: Hive
>          Issue Type: Bug
>          Components: File Formats
>    Affects Versions: 1.3.0, 2.0.0
>            Reporter: Gopal V
>            Assignee: Gopal V
>            Priority: Minor
>         Attachments: HIVE-12086.1.patch
>
>
> ORC float tree reader spends an inordinate amount of time, doing vtable 
> thunks through InputStream interface.
> The actual operation is not faster with this patch, but the interface lookup 
> goes down ~4x.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to