/** * @license * Copyright 2015 The Emscripten Authors * SPDX-License-Identifier: MIT */ // cpuprofiler.js is an interactive CPU execution profiler which measures the // time spent in executing code that utilizes requestAnimationFrame(), // setTimeout() and/or setInterval() handlers to run. // performance.now() might get faked later (this is done in the openwebgames.com // test harness), so save the real one for cpu profiler. // However, in Safari, assigning to the performance object will mysteriously // vanish in other imported .js