Created
June 8, 2017 00:03
-
-
Save dtschust/fdf2da6b403d1b0e5c8ae860f26c1ccb to your computer and use it in GitHub Desktop.
perf profile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
var script = document.createElement('script') | |
script.onload = function() { | |
var stats = new Stats() | |
stats.showPanel(1) | |
document.body.appendChild(stats.dom) | |
requestAnimationFrame(function loop() { | |
stats.update() | |
requestAnimationFrame(loop) | |
}) | |
} | |
script.src = 'http://rawgit.com/mrdoob/stats.js/master/build/stats.min.js' | |
document.head.appendChild(script) | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment