Annotation-based API execution time tracker