Created
April 3, 2013 20:48
-
-
Save ericf/5305139 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf8"> | |
<title>JSON</title> | |
</head> | |
<body> | |
<h1>JSON Test Page</h1> | |
<script> | |
console.markTimeline('start'); | |
console.profile('json'); | |
console.time('json'); | |
</script> | |
<script> | |
var data = "HUGE JSON DATA STRING"; | |
</script> | |
<script> | |
console.timeEnd('json'); | |
console.profileEnd('json'); | |
console.markTimeline('end'); | |
console.log(performance.timing); | |
console.log(performance.memory); | |
console.log(console.profiles[0]); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment