Github user cloud-fan commented on the pull request:

    https://github.com/apache/spark/pull/12640#issuecomment-213764953
  
    I ran the simple benchmark in JIRA:
    ```
    sc.parallelize(0 until 1e4.toInt, 1).map { i =>
      (i, Vectors.dense(Array.fill(1e6.toInt)(1.0)))
    }.toDF.rdd.count()
    ```
    The result for master is: 199306 ms
    The result after tiis PR: 69342 ms
    
    It's still much slower than the 1.4 version, but we have unsafe format 
since 1.5, and for this simple benchmark that has nearly no execution but only 
serialization, it's reasonable to be slower.
    
    cc @mengxr 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to