Added first version of performance-utils.js