test.scala: Add initial benchmark script

This benchmarks our examples and generates a LaTex table for us.