You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							16 lines
						
					
					
						
							326 B
						
					
					
				
			
		
		
	
	
							16 lines
						
					
					
						
							326 B
						
					
					
				var scmp = require('../');
 | 
						|
 | 
						|
suite('scmp', function() {
 | 
						|
  var HASH1 = 'e727d1464ae12436e899a726da5b2f11d8381b26';
 | 
						|
  var HASH2 = 'f727d1464ae12436e899a726da5b2f11d8381b26';
 | 
						|
  
 | 
						|
  bench('short-circuit compares', function() {
 | 
						|
    HASH1 === HASH2;
 | 
						|
  });
 | 
						|
  
 | 
						|
  bench('scmp compares', function() {
 | 
						|
    scmp(HASH1, HASH2);
 | 
						|
  });
 | 
						|
  
 | 
						|
});
 |