Using Performance Hooks