Added and instrumented benchmarks for profiling.