Skip to content

Commit b6bfe58

Browse files
committed
fix: add missing benchmark1 call in main function
1 parent 7f7ce31 commit b6bfe58

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docs/migration-guides/mathjs/benchmark/benchmark.log10.matrix.2d.size.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,9 @@ function main() {
229229
N = floor( pow( pow( 10, i ), 1.0/2.0 ) );
230230
shape = [ N, N ];
231231

232+
f = createBenchmark1( shape );
233+
bench( format( '%s::stdlib:ndarray/array:dtype=%s,size=%d,shape=(%s)', pkg, OPTS.dtype, numel( shape ), shape.join( ',' ) ), f );
234+
232235
f = createBenchmark2( shape );
233236
bench( format( '%s::stdlib:array/base/unary2d:dtype=%s,size=%d,shape=(%s)', pkg, OPTS.dtype, numel( shape ), shape.join( ',' ) ), f );
234237

0 commit comments

Comments
 (0)