Add time and perf measurement.