jsPerf.app is an online JavaScript performance benchmark test runner & jsperf.com mirror. It is a complete rewrite in homage to the once excellent jsperf.com now with hopefully a more modern & maintainable codebase .
jsperf.com URLs are mirrored at the same path, e.g:
https://jsperf.com/negative-modulo/2 Can be accessed at:
https://jsperf.app/negative-modulo/2 jQuery 2.0b VS jQ.Mobi VS zepto VS ten.js VS Angular jqLite (v152) Revision 152 of this benchmark created on December 12, 2013 Preparation HTML <script src ="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js" > </script >
<script src ="https://ajax.googleapis.com/ajax/libs/prototype/1/prototype.js" > </script >
<script src ="https://ajax.googleapis.com/ajax/libs/mootools/1.3/mootools-yui-compressed.js" > </script >
<script src ="https://ajax.googleapis.com/ajax/libs/dojo/1/dojo/dojo.xd.js" > </script >
<script src ="https://ajax.googleapis.com/ajax/libs/ext-core/3/ext-core.js" > </script >
<script src ="https://www.cinsoft.net/mylib099-min.js" > </script >
<script src ="https://zeptojs.com/zepto.min.js" >
</script >
<script src ="https://cdn.jqmobi.com/jq.mobi.min.js" >
</script >
<script src ="https://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js" >
</script >
</script >
<script src ="http://lordsnow.net/kvf/ten/ten.min.js" >
</script >
<script src ="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.5/angular.min.js" >
</script >
<div id ="container" >
</div >
Setup var d = {};
d.id = function (el ) {
return document .getElementById (el);
}
d.create = function (el ) {
return document .createElement (el);
}
HTMLElement.prototype .append = function (el ) {
this .appendChild (el);
}
var container = d.id ('container' );
var ul, li, i = 0 ;
Teardown
container.innerHTML = "" ;
Test runner Ready to run.
Run Quick Run Testing in Test Ops/sec jQ.Mobi
ul = jq ("<ul/>" );
for (; i < 100 ; i += 1 ) {
li = jq ("<li>hello world jq.Mobi</li>" );
ul.append (li);
}
jq (d.id ('container' )).append (ul);
ready
jQuery
ul = jQuery ("<ul/>" );
for (; i < 100 ; i += 1 ) {
li = jQuery ("<li>hello world jQuery</li>" );
ul.append (li);
}
jQuery (d.id ('container' )).append (ul);
ready
ten.js
ul = ten ("<ul/>" );
for (; i < 100 ; i += 1 ) {
li = ten ("<li>hello world ten.js</li>" );
ul.append (li);
}
ten (d.id ('container' )).append (ul);
ready
Zepto
ul = Zepto ("<ul/>" );
for (; i < 100 ; i += 1 ) {
li = Zepto ("<li>hello world Zepto</li>" );
Zepto (ul).append (li);
}
Zepto (d.id ('container' )).append (ul);
ready
Angular jqLite
ul = angular.element ("<ul/>" );
for (; i < 100 ; i += 1 ) {
li = jQuery ("<li>hello world jQuery</li>" );
ul.append (li);
}
angular.element (d.id ('container' )).append (ul);
ready
Revisions You can edit these tests or add more tests to this page by appending /edit to the URL.
Revision 1 : published on November 4, 2011 Revision 4 : published on January 5, 2012 Revision 5 : published on January 16, 2012 Revision 10 : published by Jesse on January 16, 2012 Revision 11 : published on January 17, 2012 Revision 14 : published on January 17, 2012 Revision 15 : published on January 17, 2012 Revision 16 : published on January 17, 2012 Revision 17 : published on January 17, 2012 Revision 18 : published by David Kaneda on January 17, 2012 Revision 19 : published by Nige White on January 17, 2012 Revision 20 : published on January 17, 2012 Revision 22 : published by Nige White on January 18, 2012 Revision 24 : published by Nige White on January 18, 2012 Revision 25 : published by fake-or-dead on January 18, 2012 Revision 26 : published by Praneet Loke on January 18, 2012 Revision 27 : published by Devin on January 19, 2012 Revision 28 : published on January 19, 2012 Revision 30 : published by Praneet Loke on January 19, 2012 Revision 31 : published by Devin on January 20, 2012 Revision 32 : published on January 20, 2012 Revision 35 : published by Devin Rhode on February 11, 2012 Revision 37 : published by Devin Rhode on February 11, 2012 Revision 40 : published by Devin Rhode on February 12, 2012 Revision 41 : published by Devin Rhode on February 12, 2012 Revision 43 : published on February 13, 2012 Revision 44 : published on February 13, 2012 Revision 45 : published on February 18, 2012 Revision 49 : published on March 13, 2012 Revision 50 : published on March 13, 2012 Revision 51 : published on March 14, 2012 Revision 52 : published by jason mcleod on March 16, 2012 Revision 54 : published on March 22, 2012 Revision 56 : published on March 28, 2012 Revision 58 : published on April 13, 2012 Revision 60 : published by Keith Chu on April 19, 2012 Revision 61 : published on April 19, 2012 Revision 62 : published on April 25, 2012 Revision 64 : published on May 16, 2012 Revision 66 : published on May 26, 2012 Revision 67 : published on June 1, 2012 Revision 68 : published by levin on June 2, 2012 Revision 69 : published on July 2, 2012 Revision 70 : published on July 3, 2012 Revision 71 : published by Jacob Gable on July 11, 2012 Revision 75 : published on August 13, 2012 Revision 76 : published on August 16, 2012 Revision 77 : published on August 16, 2012 Revision 79 : published on September 6, 2012 Revision 84 : published by bill on September 14, 2012 Revision 85 : published on October 2, 2012 Revision 86 : published on October 3, 2012 Revision 92 : published on November 22, 2012 Revision 93 : published on November 24, 2012 Revision 94 : published on November 24, 2012 Revision 95 : published by Kevin on December 15, 2012 Revision 97 : published on December 17, 2012 Revision 102 : published by Mark Bradshaw on January 4, 2013 Revision 103 : published by j79 on January 15, 2013 Revision 104 : published on January 16, 2013 Revision 105 : published on January 17, 2013 Revision 106 : published on January 24, 2013 Revision 107 : published on February 11, 2013 Revision 108 : published by Marnix T'Jaeckx on February 24, 2013 Revision 109 : published on March 2, 2013 Revision 110 : published on March 5, 2013 Revision 112 : published on March 20, 2013 Revision 113 : published by Miles Elam on March 21, 2013 Revision 114 : published by dameleon on April 4, 2013 Revision 115 : published by realpeterz on April 4, 2013 Revision 116 : published on April 5, 2013 Revision 118 : published on April 11, 2013 Revision 119 : published on April 23, 2013 Revision 120 : published on April 24, 2013 Revision 123 : published on April 24, 2013 Revision 124 : published on April 24, 2013 Revision 125 : published on April 24, 2013 Revision 127 : published on May 14, 2013 Revision 128 : published on May 17, 2013 Revision 129 : published on May 28, 2013 Revision 130 : published on June 6, 2013 Revision 131 : published on June 7, 2013 Revision 132 : published on June 25, 2013 Revision 133 : published on July 20, 2013 Revision 136 : published on August 7, 2013 Revision 137 : published on August 7, 2013 Revision 138 : published by duplicate-with-forEach-vs-duplicate-with-concat on August 20, 2013 Revision 139 : published on September 13, 2013 Revision 141 : published on September 23, 2013 Revision 143 : published on November 1, 2013 Revision 144 : published on November 1, 2013 Revision 147 : published on November 6, 2013 Revision 148 : published on November 9, 2013 Revision 149 : published on December 5, 2013 Revision 150 : published by 54yuri on December 5, 2013 Revision 151 : published on December 12, 2013 Revision 152 : published on December 12, 2013 Revision 153 : published by liu on December 12, 2013 Revision 154 : published on December 22, 2013 Revision 155 : published by Heavensrevenge on December 30, 2013 Revision 156 : published by Heavensrevenge on December 30, 2013 Revision 157 : published by Heavensrevenge on December 30, 2013 Revision 158 : published on January 5, 2014 Revision 160 : published by Marin Marusic on January 17, 2014 Revision 161 : published by Marin Marusic on January 17, 2014 Revision 162 : published on January 17, 2014 Revision 163 : published on January 17, 2014 Revision 164 : published on January 18, 2014 Revision 165 : published by surfjedi on January 29, 2014 Revision 166 : published by Camusensei on February 6, 2014 Revision 168 : published on February 14, 2014 Revision 170 : published on March 6, 2014 Revision 171 : published on March 13, 2014 Revision 178 : published on June 11, 2014 Revision 180 : published on June 25, 2014 Revision 181 : published on July 4, 2014 Revision 188 : published on January 16, 2015