Add a benchmark for reading and writing records.