Assignment 4: Performance Optimization and Timing