add some generic benchmarking