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

Apache Spark reassigned SPARK-12950:
------------------------------------

    Assignee:     (was: Apache Spark)

> Improve performance of BytesToBytesMap
> --------------------------------------
>
>                 Key: SPARK-12950
>                 URL: https://issues.apache.org/jira/browse/SPARK-12950
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Davies Liu
>
> When benchmark generated aggregate with grouping keys, the profiling show 
> that lookup in BytesToBytesMap took about 90% of the CPU time, we should 
> optimize it.
> After profiling with jvisualvm, here are the things that take most of the 
> time:
> 1. decode address from Long to baseObject and offset
> 2. calculate hash code
> 3. compare the bytes (equality check)



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to