Cleanup benchmark/benchmark.js, add firebug-lite, and add support for Narwhal, Rhino, and Ringo.

Former-commit-id: e08ede5bee3fdfbeb648b855dfb3082e66e68c0b
This commit is contained in:
John-David Dalton
2012-05-20 04:14:56 -04:00
parent c8f3b128cb
commit c2a1f50dc0
74 changed files with 37298 additions and 155 deletions

34
benchmark/index.html Normal file
View File

@@ -0,0 +1,34 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Lo-Dash Benchmark Suite</title>
<style>
html, body {
margin: 0;
padding: 0;
height: 100%;
}
</style>
</head>
<body>
<script src="../lodash.js"></script>
<script>
var lodash = _.noConflict();
</script>
<script src="../vendor/underscore/underscore.js"></script>
<script src="../vendor/benchmark.js/benchmark.js"></script>
<script src="../vendor/firebug-lite/src/firebug-lite-debug.js"></script>
<script>
window.onload = function() {
var sibling = document.scripts[0],
script = document.createElement('script');
document.getElementById('FirebugUI').style.height = '100%';
script.src = 'benchmark.js';
sibling.parentNode.insertBefore(script, sibling);
};
</script>
</body>
</html>