Performance tests for Spark