Skip to content

Instantly share code, notes, and snippets.

@ekashida
Last active January 4, 2016 10:19
Show Gist options
  • Save ekashida/8607839 to your computer and use it in GitHub Desktop.
Save ekashida/8607839 to your computer and use it in GitHub Desktop.
perf test baseline with only core modules
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>perf test baseline with only core modules</title>
</head>
<body>
<script src="https://rawgithub.com/ekashida/8679996/raw/12ac7814ea05341584e47db16c6ddaf148fd31bf/setup.js"></script>
<script src="https://rawgithub.com/ekashida/yui3/perf-hooks-built/build/yui/yui-debug.js"></script>
<script>
YUI().use('node', function (Y) {
var perf = JSON.stringify(YUI.Env.perf, null, 4);
Y.one('body').setContent('<pre>' + perf + '</pre>');
console.log(perf);
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment