diff --git a/base/assert/is-data-type/benchmark/benchmark.js b/base/assert/is-data-type/benchmark/benchmark.js index fd3dfb60..2d3bc72d 100644 --- a/base/assert/is-data-type/benchmark/benchmark.js +++ b/base/assert/is-data-type/benchmark/benchmark.js @@ -21,8 +21,6 @@ // MODULES // var bench = require( '@stdlib/bench' ); -var randu = require( '@stdlib/random/base/randu' ); -var floor = require( '@stdlib/math/base/special/floor' ); var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive; var pkg = require( './../package.json' ).name; var isDataType = require( './../lib' ); @@ -57,7 +55,7 @@ bench( pkg, function benchmark( b ) { b.tic(); for ( i = 0; i < b.iterations; i++ ) { - v = values[ floor( randu()*values.length ) ]; + v = values[ i%values.length ]; out = isDataType( v ); if ( typeof out !== 'boolean' ) { b.fail( 'should return a boolean' );