Added basic benchmarking.