Add runtime and memory usage benchmarks.