Better time resolution and improved function timing method
Using newer fid-umd to get global object