Last active
November 19, 2015 17:04
-
-
Save photonstorm/a55662424c5a45b999b6 to your computer and use it in GitHub Desktop.
gc test
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
// The following code, on its own (with nothing else) | |
// generates ~500 KB of gc every ~2.5 seconds in 49.0.2568.0 canary (64-bit / Windows 7) | |
// Update: Appears it's an issue with Dev Tools: https://code.google.com/p/chromium/issues/detail?id=120186 | |
// Using JS Profiler creates lots of garbage in the JS Heap. Wonderful. | |
function update (now) { | |
window.requestAnimationFrame(update); | |
} | |
window.requestAnimationFrame(update); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment