spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Wendell (JIRA)" <>
Subject [jira] [Updated] (SPARK-5863) Improve performance of convertToScala codepath.
Date Mon, 23 Mar 2015 00:04:11 GMT


Patrick Wendell updated SPARK-5863:
    Target Version/s: 1.4.0  (was: 1.3.1, 1.4.0)

> Improve performance of convertToScala codepath.
> -----------------------------------------------
>                 Key: SPARK-5863
>                 URL:
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 1.2.0, 1.2.1
>            Reporter: Cristian
>            Priority: Critical
> Was doing some perf testing on reading parquet files and noticed that moving from Spark
1.1 to 1.2 the performance is 3x worse. In the profiler the culprit showed up as being in
> Particularly this zip is the issue:
> {code}
> {code}
> I see there's a comment on that currently that this is slow but it wasn't fixed. This
actually produces a 3x degradation in parquet read performance, at least in my test case.
> Edit: the map is part of the issue as well. This whole code block is in a tight loop
and allocates a new ListBuffer that needs to grow for each transformation. A possible solution
is to change to using seq.view which would allocate iterators instead.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message