Created
March 29, 2012 00:22
-
-
Save keithpitt/2231755 to your computer and use it in GitHub Desktop.
backbone_v_ember
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
<html> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> | |
<script type="text/javascript" src="/underscore-min.js"></script> | |
<script type="text/javascript"> | |
var start = new Date(); | |
</script> | |
<script type="text/javascript" src="/backbone-min.js"></script> | |
<script type="text/javascript"> | |
var end = new Date(); | |
document.write(end.valueOf() - start.valueOf()); | |
</script> | |
</html> |
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
<html> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> | |
<script type="text/javascript"> | |
var start = new Date(); | |
</script> | |
<script type="text/javascript" src="/ember.js"></script> | |
<script type="text/javascript"> | |
var end = new Date(); | |
document.write(end.valueOf() - start.valueOf()); | |
</script> | |
</html> |
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
jQuery: 94kb | |
- iPhone 4: 280ms | |
- iPhone 4S: 140ms | |
- iPad 2: 140ms | |
- Chrome OSX: 50ms | |
- IE8: 60ms | |
- IE7: 70-200ms | |
- Firefox: 30ms | |
- Motorola Atrix Android 2.3.7 (dual core, 1.2GHZ): 60ms | |
Backbone: 16kb | |
- iPhone 4: 15ms | |
- iPhone 4S: 10ms | |
- iPad 2: 8ms | |
- Chrome OSX: 8ms | |
- IE8: 15ms | |
- IE7: 30ms | |
- Firefox: 3ms | |
- Motorola Atrix Android 2.3.7 (dual core, 1.2GHZ): 10ms | |
Ember: 138kb | |
- iPhone 4: 350ms | |
- iPhone 4S: 230ms | |
- iPad 2: 187ms | |
- Chrome OSX: 50ms | |
- IE8: 50ms | |
- IE7: 250ms | |
- Firefox: 70ms | |
- Motorola Atrix Android 2.3.7 (dual core, 1.2GHZ): 140ms |
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
<html> | |
<script type="text/javascript"> | |
var start = new Date(); | |
</script> | |
<script type="text/javascript" src="/jquery.min.js"></script> | |
<script type="text/javascript"> | |
var end = new Date(); | |
document.write(end.valueOf() - start.valueOf()); | |
</script> | |
</html> |
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
These tests are very un-scientific. We just loaded up | |
these pages on our local netfox, refreshed a few times, | |
and tool a ballpark average of the results. | |
As someone mentioned on Twitter, these are very different | |
frameworks - all doing very different things. This is not | |
intended to mean a (Backbone is better than Ember) type page. | |
Its just some numbers that I thought were interesting. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment