summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/longtask-timing/resources/makelongtask.js
blob: 75de5453b5856deee20188afabee6e69f8426cb7 (plain)
1
2
3
/* Generate a slow task. */
const begin = window.performance.now();
while (window.performance.now() < begin + 60);