サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
2024年ランキング
jsperf.com
{REGARDER!} - Fast & Furious 8 Streaming VF 2017 VOSTFR HDHQ JavaScript performance comparison Test case created by Regarder Fast & Furious 8 Streaming VF 17 hours ago Preparation code --------------------------------------------------------------------------- Cliquez ici pour jouer : http://bit.ly/2omAO6Z Cliquez ici pour jouer: http://bit.ly/2omAO6Z Cliquez ici pour jouer : http://bit.ly/2omAO6
JavaScript performance comparison Revision 5 of this test case created by on 2013-11-13 Preparation code <script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> <script> Benchmark.prototype.setup = function() { function recursiveDeepCopy(o) { var newO, i; if (typeof o !== 'object') { return o; } if (!o) { return o; } if ('[object Array]' === Object.prototype.toString.a
JavaScript performance comparison Revision 3 of this test case created by Batiste on 2011-6-30 Preparation code <canvas width=364 height=126 id="c1"></canvas> <canvas width=364 height=126 id="c2"></canvas> <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAWwAAAB+CAIAAACPlLzKAAAACXBIWXMAAC4jAAAuIwF4pT92AABmE0lEQVR42u29d5wlV3Unfs69VfXy69c5h+lJyhlJIBBgwAQD9hKMcc72OoFt7LX3t7bxrtPa68CusbFxAIwxJi
JavaScript performance comparison Test case created by Gajus on 2014-9-30 Preparation code <script> Benchmark.prototype.setup = function() { var small = [], medium = [], big = [], smallSize = 100, mediumSize = 10000, bigSize = 100000; while (smallSize--) { small.push(Math.random()); } while (mediumSize--) { medium.push(Math.random()); } while (bigSize--) { big.push(Math.random()); } }; </script> T
JavaScript performance comparison Revision 5 of this test case created by on 2014-10-16 Preparation code <script src="https://code.jquery.com/jquery-2.1.1.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/bluebird/1.2.2/bluebird.js"></script> Preparation code output Test runner Warning! For accurate results, please disable Firebug before running the tests. (Why?) Java applet di
JavaScript performance comparison Test case created by a on 2014-8-25 Preparation code <script> Benchmark.prototype.setup = function() { var inputArray = Array.apply(null, new Array(1e4)).map(function(e) { return ~~(Math.random() * 1e4); }); function quickSort(array) { var sorted = array.slice(0); return (function sort(left, right) { if (left < right) { var pivot = sorted[(left + right) >> 1]; var
Revisions You can edit these tests or add even more tests to this page by appending /edit to the URL. Revision 2: published johngag on 2012-12-4 Revision 3: published on 2012-12-5 Revision 4: published johngag on 2012-12-5 and last updated on 2012-12-6 Revision 5: published on 2012-12-6 Revision 6: published on 2012-12-6 Revision 7: published on 2012-12-6 Revision 8: published on 2013-2-8 Revision
JavaScript performance comparison Test case created by Honnza on 2012-10-20 Preparation code <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> <script> Benchmark.prototype.setup = function() { var template_short = "<div class='test'>text</div>"; var clone_template = $(template_short); var html = $(document.body); }; </script> Preparation code output Test runne
JavaScript performance comparison Revision 2 of this test case created by think49 on 2011-8-26 Test runner Warning! For accurate results, please disable Firebug before running the tests. (Why?) Java applet disabled.
JavaScript performance comparison Test case created by Jason Oster on 2012-9-29 Preparation code <img id="lena" alt="Lena" src="http://i.imgur.com/ouA1G.png"> <br> <canvas id="canvas" width="512" height="512" style="background-color: gray"></canvas> <script> function $(e) { return document.getElementById(e); } var context = $("canvas").getContext("2d"); var img = $("lena"); </script> Preparation c
JavaScript performance comparison Revision 18 of this test case created by Brennan Falkner on 2012-3-23 Preparation code <script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"> </script> <script src="http://documentcloud.github.com/underscore/underscore-min.js"> </script> <script> var arr = [], loop = 30; while (loop--) { arr[loop - 1] = loop; } var fn = function(x) { x = x; };
Hadlebars vs. Hogan vs. Mustache vs. jsRender vs Dust vs Underscore JavaScript performance comparison Revision 26 of this test case created by on 2013-8-30 Preparation code <div id="target"></div> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> <script src="http://mustache.github.io/extras/mustache.js"></script> <script src="https://github.com/downloads/wycats/h
JavaScript performance comparison Revision 37 of this test case created by on 2012-7-14 Preparation code <script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"> </script> <script> Benchmark.prototype.setup = function() { var i, value, length, values = [], sum = 0, context = values; for (i = 0; i < 10000; i++) { values[i] = Math.random(); } function add(val) { sum += val; } }; B
Revisions You can edit these tests or add even more tests to this page by appending /edit to the URL. Revision 1: published Andreas Goebel on 2011-2-26 Revision 2: published RoVeRT on 2011-2-26 Revision 3: published Mathias Bynens on 2011-3-27 Revision 4: published on 2011-3-27 Revision 6: published on 2011-4-1 Revision 7: published on 2011-4-1 Revision 8: published jess jacobs on 2011-6-1 Revisio
createElement + appendChild vs innerHTML vs createDocumentFragment + createElement + appendChild vs createContextualFragment + appendChild vs DOMParser + adoptNode + appendChild vs insertAdja JavaScript performance comparison Test case created by syoichi on 2011-12-23 Preparation code <div id="test"></div> <script> Benchmark.prototype.setup = function() { var doc, test; doc = document; test = doc.
JavaScript performance comparison Revision 5 of this test case created on 29th August 2012 Preparation code <script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"> </script> <script src="//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.3.3/underscore-min.js"> </script> Preparation code output Test runner Warning! For accurate results, please disable Firebug before running the tests.
JavaScript performance comparison Test case created by hokaccha on 2013-3-25 Preparation code <script> Benchmark.prototype.setup = function() { window.n = '100' }; </script> Test runner Warning! For accurate results, please disable Firebug before running the tests. (Why?) Java applet disabled.
JavaScript performance comparison Test case created by kazuho on 2013-1-22 Preparation code <script> Benchmark.prototype.setup = function() { var str = "", i = 0; for (; i < 1000; i += 1) { str += "a"; } var strCode = 'var str="",i=0;for(;i<1000;i+=1){str+="a";}'; }; </script> Test runner Warning! For accurate results, please disable Firebug before running the tests. (Why?) Java applet disabled.
JavaScript performance comparison Test case created by pchw on 2013-1-15 Preparation code <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"> </script> </head> <body> <div id="dom"> </div> </body> </html> <script> Benchmark.prototype.setup = function() { var $dom = $("#dom"); var dom = document.getElementById("dom"); var testCount = 10000; }; Benchmark.prototy
CoffeeScript's for vs. Underscore _.each vs. jQuery $.each JavaScript performance comparison Revision 7 of this test case created by hokaccha on 2013-1-10 Preparation code <script src="https://raw.github.com/documentcloud/underscore/ba3e31b53ef5752b40cfb2d71f594536fefbe916/underscore-min.js"> </script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"> </script> <scrip
CoffeeScript's for vs. Underscore _.each vs. jQuery $.each JavaScript performance comparison Revision 3 of this test case created by Onigoetz on 2012-4-10 Preparation code <script src="https://raw.github.com/documentcloud/underscore/ba3e31b53ef5752b40cfb2d71f594536fefbe916/underscore-min.js"> </script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"> </script> <scrip
JavaScript performance comparison Revision 2 of this test case created by Jonas Fischer on 2011-4-4 Preparation code <script> var a = 'A........................', b = 'Z........................', x, y; </script> Test runner Warning! For accurate results, please disable Firebug before running the tests. (Why?) Java applet disabled.
JavaScript performance comparison Revision 6 of this test case created by Mihai Bazon on 2012-9-16 Preparation code <script> Benchmark.prototype.setup = function() { var a = 1, b = true, c = "c", d = [], e = {}, u; }; </script> Test runner Warning! For accurate results, please disable Firebug before running the tests. (Why?) Java applet disabled.
JavaScript performance comparison Test case created by tim on 2012-11-10 Preparation code <script src="http://code.jquery.com/jquery-1.7.2.min.js"> </script> <script src="http://code.angularjs.org/angular-1.0.1.min.js"> </script> <script src=" http://cdnjs.cloudflare.com/ajax/libs/knockout/2.2.0/knockout-min.js"> </script> <script> var Ctrl = function($scope) { $scope.data = ""; $scope.numberofCha
JavaScript performance comparison Revision 3 of this test case created by Jason Miller on 2012-6-5 and last updated on 2012-6-6 Preparation code <script> Benchmark.prototype.setup = function() { var img = document.createElement('img'); document.body.appendChild(img); var url = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwA
JavaScript performance comparison Test case created by Chris on 2011-5-10 Preparation code <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js"></script><input type="text" id="btn"></div> Preparation code output
Revisions You can edit these tests or add even more tests to this page by appending /edit to the URL. Revision 4: published on 2014-11-3 Revision 5: published Juan Picado on 2014-11-10 Revision 10: published ^x3ro on 2014-11-22 Revision 11: published on 2014-11-22 Revision 13: published Eser Ozvataf on 2014-11-24 Revision 17: published on 2014-11-28 Revision 18: published on 2014-11-28 Revision 20
JavaScript performance comparison Revision 142 of this test case created by (same as 141 with smaller size array) 2 days ago Info Real life Test for common method for looping an array: (native) classic for loop (native) Array.forEach .each from various frameworks: jQuery, Ext, underscore (original & fallback version) emulation: Array.prototype.each Array size: 100 (common big array size) Preparati
JavaScript performance comparison Revision 365 of this test case created by Jarno Keskikangas on 2012-2-24 Preparation code <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> <script src="http://leonidas.github.com/transparency/js/transparency.min.js"></script> <script src="http://documentcloud.github.com/underscore/underscore.js"></script> <script src="http://gith
次のページ
このページを最初にブックマークしてみませんか?
『jsPerf: JavaScript performance playground』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く