Skip to content

Commit

Permalink
chore: use correct range for benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
gunjjoshi committed Aug 23, 2024
1 parent 41c393e commit b08c01b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ bench( pkg, function benchmark( b ) {
var y;
var i;

x = randu( 100, -100.0, 100.0 );
y = randu( 100, -100.0, 100.0 );
x = randu( 100, 1.0, 100.0 );
y = randu( 100, 1.0, 100.0 );

b.tic();
for ( i = 0; i < b.iterations; i++ ) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ bench( pkg+'::native', opts, function benchmark( b ) {
var y;
var i;

x = randu( 100, -100.0, 100.0 );
y = randu( 100, -100.0, 100.0 );
x = randu( 100, 1.0, 100.0 );
y = randu( 100, 1.0, 100.0 );

b.tic();
for ( i = 0; i < b.iterations; i++ ) {
Expand Down

0 comments on commit b08c01b

Please sign in to comment.