Add runtime measurement