[ 
https://issues.apache.org/jira/browse/ARROW-3694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Uwe L. Korn reassigned ARROW-3694:
----------------------------------

    Assignee: Zhenyuan Zhao

> [Java] Avoid superfluous string creation when logging level is disabled 
> ------------------------------------------------------------------------
>
>                 Key: ARROW-3694
>                 URL: https://issues.apache.org/jira/browse/ARROW-3694
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Java
>    Affects Versions: 0.11.1
>            Reporter: Zhenyuan Zhao
>            Assignee: Zhenyuan Zhao
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 0.12.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> There are a few places where strings were unnecessarily created for logging 
> purpose.
> [https://github.com/apache/arrow/blob/ed70f051bb0636d994f285c38503b992d08efa00/java/vector/src/main/java/org/apache/arrow/vector/ipc/message/ArrowRecordBatch.java#L75]
> For the above scenario in ArrowRecordBatch, roughly 2/3 of the total CPU was 
> spent in string.format()



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

Reply via email to