Add time measurement script