File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -44,13 +44,13 @@ new Benchmark.Suite()
44
44
numberMatrix . forEach ( abs . signatures . number )
45
45
} )
46
46
. add ( pad ( 'genericMatrix.forEach(abs+idx)' ) , ( ) => {
47
- genericMatrix . forEach ( ( x , idx ) => abs ( x ) + idx [ 0 ] - idx [ 1 ] )
47
+ genericMatrix . forEach ( ( x , idx ) => abs ( x ) + idx [ 0 ] - idx [ 1 ] )
48
48
} )
49
49
. add ( pad ( 'numberMatrix.forEach(abs+idx)' ) , ( ) => {
50
- numberMatrix . forEach ( ( x , idx ) => abs ( x ) + idx [ 0 ] - idx [ 1 ] )
50
+ numberMatrix . forEach ( ( x , idx ) => abs ( x ) + idx [ 0 ] - idx [ 1 ] )
51
51
} )
52
52
. add ( pad ( 'forEach(genericMatrix, abs+idx)' ) , ( ) => {
53
- forEach ( genericMatrix , ( ( x , idx ) => abs ( x ) + idx [ 0 ] - idx [ 1 ] ) )
53
+ forEach ( genericMatrix , ( x , idx ) => abs ( x ) + idx [ 0 ] - idx [ 1 ] )
54
54
} )
55
55
. add ( )
56
56
. on ( 'cycle' , function ( event ) {
Original file line number Diff line number Diff line change @@ -44,13 +44,13 @@ new Benchmark.Suite()
44
44
numberMatrix . map ( abs . signatures . number )
45
45
} )
46
46
. add ( pad ( 'map(array, abs + idx)' ) , ( ) => {
47
- map ( array , ( x , idx ) => abs ( x ) + idx [ 0 ] - idx [ 1 ] )
47
+ map ( array , ( x , idx ) => abs ( x ) + idx [ 0 ] - idx [ 1 ] )
48
48
} )
49
49
. add ( pad ( 'genericMatrix.map(abs + idx)' ) , ( ) => {
50
- genericMatrix . map ( ( x , idx ) => abs ( x ) + idx [ 0 ] - idx [ 1 ] )
50
+ genericMatrix . map ( ( x , idx ) => abs ( x ) + idx [ 0 ] - idx [ 1 ] )
51
51
} )
52
52
. add ( pad ( 'numberMatrix.map(abs + idx)' ) , ( ) => {
53
- numberMatrix . map ( ( x , idx ) => abs ( x ) + idx [ 0 ] - idx [ 1 ] )
53
+ numberMatrix . map ( ( x , idx ) => abs ( x ) + idx [ 0 ] - idx [ 1 ] )
54
54
} )
55
55
. on ( 'cycle' , function ( event ) {
56
56
console . log ( String ( event . target ) )
You can’t perform that action at this time.
0 commit comments