Simple typeclass benchmark.