Add caching to measurement results