added timing to deleteMeasurement.