Add trivial benchmarking code.