As Spark avoids performing heavy disk I/O, it has a significant improvement in performance over Hadoop.

image.png

image.png