Use simpler performance.now code lifted from three.js, as per @mrdoob suggestion