Editing Angular This edit will create a new revision. Your details (optional) Name Email (won’t be displayed; might be used for Gravatar) URL Test case details Title * Published (uncheck if you want to fiddle around before making the page public) Description (in case you feel further explanation is needed)(Markdown syntax is allowed) Designed to test binding to rendering performance of these frontend frameworks. Backbone.js was removed due to implementation possibilities Using more recent version of ExtJS with putative grid performance improvements. Are you a spammer? (just answer the question) Preparation code Preparation code HTML (this will be inserted in the <body> of a valid HTML5 document in standards mode) (useful when testing DOM operations or including libraries) <!-- JQURY --> <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> <!-- ANGULAR --> <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.0.5/angular.min.js" ng:autobind></script> <script> var Ctrl=function($scope){ $scope.data=[]; } </script> <div ng:app> <ul ng-controller="Ctrl" id="angList" > <li ng-repeat="item in data">{{item}}</li> </ul> <script> var SetANG= function(data){ $('#angList').scope().data=data; $('#angList').scope().$apply(function(){}); }; </script> <!-- ANGULAR Update --> <script> var CtrlUpdate=function($scope){ $scope.data=[]; } </script> <ul ng-controller="CtrlUpdate" id="angListUpdate" > <li ng-repeat="item in data">{{item}}</li> </ul></div> </div> <script> var SetANGUpdate= function(data){ $('#angListUpdate').scope().data=data; $('#angListUpdate').scope().$apply(function(){}); }; </script> <script> var ANG50ID=[]; for (var i=0; i<50;i++){ ANG50ID.push('ITEM'); }; var ANG100ID=[]; for (var i=0; i<100;i++){ ANG100ID.push('ITEM'); }; var ANG100ID2=[]; for (var i=0; i<100;i++){ ANG100ID2.push('ITEM2'); };<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> var ANG1000ID=[]; for (var i=0; i<1000;i++){ ANG1000ID.push('ITEM'); }; </script> Include JavaScript libraries as follows: <script src="//cdn.ext/library.js"></script> Define setup for all tests (variables, functions, arrays or other objects that will be used in the tests) (runs before each clocked test loop, outside of the timed code region) (e.g. define local test variables, reset global variables, clear canvas, etc.) (see FAQ) SetANG([]); SetANGUpdate(ANG100ID); Define teardown for all tests (runs after each clocked test loop, outside of the timed code region) (see FAQ) Code snippets to compare Test 1 Title Async (check if this is an asynchronous test) Code SetANG(ANG50ID); Test 2 Title Async (check if this is an asynchronous test) Code SetANG(ANG100ID); Test 3 Title Async (check if this is an asynchronous test) Code SetANG(ANG1000ID); Test 4 Title Async (check if this is an asynchronous test) Code SetANGUpdate(ANG100ID2);