Added trim_times script for timing individual API calls