Skip to content
This repository
Browse code

Merge pull request #29 from i-arindam/master

Issue no 3
  • Loading branch information...
commit 1e63ff33894d230be151856a79a29c533df18727 2 parents a374ec5 + 52b6f20
Thomas Fuchs authored December 04, 2011

Showing 1 changed file with 0 additions and 8 deletions. Show diff stats Hide diff stats

  1. 8  src/unittest.js
8  src/unittest.js
@@ -428,14 +428,6 @@ Test.Unit.Assertions.prototype = {
428 428
   assertElementMatches: function(element, expression) {
429 429
     this.assertElementsMatch([element], expression);
430 430
   },
431  
-  benchmark: function(operation, iterations) {
432  
-    var startAt = new Date();
433  
-    (iterations || 1).times(operation);
434  
-    var timeTaken = ((new Date())-startAt);
435  
-    this.info((arguments[2] || 'Operation') + ' finished ' + 
436  
-       iterations + ' iterations in ' + (timeTaken/1000)+'s' );
437  
-    return timeTaken;
438  
-  },
439 431
   _isVisible: function(element) {
440 432
     element = $(element);
441 433
     if(!element.parentNode) return true;

1 note on commit 1e63ff3

Rafał Wrzeszcz

Even "old" Script.aculo.us is more active then Scripty2? :(

Please sign in to comment.
Something went wrong with that request. Please try again.