diff --git a/docs/migration-guides/mathjs/benchmark/benchmark.log10.matrix.2d.size.js b/docs/migration-guides/mathjs/benchmark/benchmark.log10.matrix.2d.size.js index bca5672d7245..3ac66ed03da4 100644 --- a/docs/migration-guides/mathjs/benchmark/benchmark.log10.matrix.2d.size.js +++ b/docs/migration-guides/mathjs/benchmark/benchmark.log10.matrix.2d.size.js @@ -79,7 +79,7 @@ function createBenchmark1( shape ) { b.tic(); for ( i = 0; i < b.iterations; i++ ) { - // y = log10( x ); FIXME: support once we have `@stdlib/math/special/log10` + y = x.map( base ); if ( typeof y !== 'object' ) { b.fail( 'should return an object' ); } @@ -229,6 +229,9 @@ function main() { N = floor( pow( pow( 10, i ), 1.0/2.0 ) ); shape = [ N, N ]; + f = createBenchmark1( shape ); + bench( format( '%s::stdlib:ndarray/array:dtype=%s,size=%d,shape=(%s)', pkg, OPTS.dtype, numel( shape ), shape.join( ',' ) ), f ); + f = createBenchmark2( shape ); bench( format( '%s::stdlib:array/base/unary2d:dtype=%s,size=%d,shape=(%s)', pkg, OPTS.dtype, numel( shape ), shape.join( ',' ) ), f );