Skip to content

Commit

Permalink
bench
Browse files Browse the repository at this point in the history
  • Loading branch information
cronvel committed Jun 3, 2021
1 parent 324385a commit 826ad5f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bench/levenshtein-bench.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@

"use strict" ;



/* global benchmark, competitor */

const leven = require( './ext/leven.js' ) ;
Expand All @@ -13,7 +17,7 @@ benchmark( 'Levenshtein' , () => {
l4 = 'armorica' , r4 = 'america' ,
l5 = 'abcdef' , r5 = 'acdbeh' ,
l6 = 'some-random-text' , r6 = 'more-hazard' ;

competitor( 'original leven module' , () => {
leven( l1 , r1 ) ;
leven( l2 , r2 ) ;
Expand Down

0 comments on commit 826ad5f

Please sign in to comment.