fitermay commented on issue #23986: [SPARK-27070] Fix performance bug in DefaultPartitionCoalescer URL: https://github.com/apache/spark/pull/23986#issuecomment-471234977 @dongjoon-hyun @srowen I've experimented enough today to be very confident that the reason behind the performance difference is the overhead introduced by boxing/unboxing Pushed these changes: - Use `min` with Ordering instead of `minBy` to avoid boxing overhead - Added benchmark results - Added benchmarks description - Get rid of DebugFilesystem in benchmark - Fixed scalastyle - Fixed some minor existing codestyle issues in CoalescedRDD.scala
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
