Github user JoshRosen commented on the pull request:

    https://github.com/apache/spark/pull/6651#issuecomment-109034226
  
    By the way, here's how I found that this was a bottleneck: I created a new 
test suite which takes a short-running Hive test and runs it 100 times 
back-to-back, then profiled the suite using YourKit; RandomAccessFile writes 
dominated the hot spots chart.
    
    ```scala
    package org.apache.spark.sql.hive.execution
    
    import org.scalatest.Outcome
    
    class ResetProfilingSuite extends HiveCompatibilitySuite {
    
      override def withFixture(test: NoArgTest): Outcome = {
        (1 to 100).map { _ =>
          super.withFixture(test)
        }.last
      }
    
      override def whiteList = Seq("compute_stats_empty_table")
    }
    ```


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to