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

ASF GitHub Bot commented on DRILL-5993:
---------------------------------------

Github user ilooner commented on the issue:

    https://github.com/apache/drill/pull/1057
  
    For posterity I will post some of the benchmarking Paul did. I will then do 
some of my own micro benchmarking in a later comment.
    
    ++ Code Gen
    
     - For a query which has an execution time of **5578 ms** code generating 
the copiers takes about **2159 ms** (I don't have the original query). If we 
use Generic copiers we save all of this time.
    
    ++ Execution
    
     - The execution time of code generated copiers for the query of interest 
was **1302 ms / run**.
     - The execution time of generic copiers for the query of interest was 
**1186 ms / run**.
    
    ++ Conclusion
    
    Generic copiers are faster than code generated copiers. The JVM has made 
big strides in the past few years and can now optimize code at runtime much 
better than us.


> Add Generic Copiers
> -------------------
>
>                 Key: DRILL-5993
>                 URL: https://issues.apache.org/jira/browse/DRILL-5993
>             Project: Apache Drill
>          Issue Type: New Feature
>            Reporter: Timothy Farkas
>            Assignee: Timothy Farkas
>            Priority: Major
>
> Currently the copier can only copy record from an incoming batch to the 
> beginning of an outgoing batch. We need to be able to copy a record and 
> append it to the end of the outgoing batch. Also Paul's Generic copiers are 
> more performant and simpler and should be added.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to