Micro-benchmark for Scala