Created
February 15, 2013 05:15
-
-
Save faridnsh/4958683 to your computer and use it in GitHub Desktop.
Knockout observable benchmark. Put the file in your knockout folder.
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
<!DOCTYPE html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title></title> | |
<meta name="description" content=""> | |
</head> | |
<body> | |
<script type="text/javascript" src="build/output/knockout-latest.js"></script> | |
<script type="text/javascript" src="https://raw.github.com/bestiejs/benchmark.js/v1.0.0/benchmark.js"></script> | |
<script type="text/javascript"> | |
var suite = new Benchmark.Suite; | |
suite.add(function() { | |
ko.observable(); | |
}).on('cycle', function(event) { | |
document.write(String(event.target)); | |
}).run(); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment