Skip to content

Commit bada7ba

Browse files
authored
bench: refactor to use string interpolation in blas/ext/base/dapxsumpw
Signed-off-by: Kamal Singh Rautela <130351010+rautelaKamal@users.noreply.github.com>
1 parent 2601797 commit bada7ba

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/node_modules/@stdlib/blas/ext/base/dapxsumpw/benchmark/benchmark.ndarray.native.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ var isnan = require( '@stdlib/math/base/assert/is-nan' );
2727
var pow = require( '@stdlib/math/base/special/pow' );
2828
var tryRequire = require( '@stdlib/utils/try-require' );
2929
var pkg = require( './../package.json' ).name;
30+
var format = require( '@stdlib/string/format' );
31+
3032

3133

3234
// VARIABLES //
@@ -100,7 +102,7 @@ function main() {
100102
for ( i = min; i <= max; i++ ) {
101103
len = pow( 10, i );
102104
f = createBenchmark( len );
103-
bench( pkg+'::native:ndarray:len='+len, opts, f );
105+
bench( format( '%s::native:ndarray:len=%d', pkg, len ), opts, f );
104106
}
105107
}
106108

0 commit comments

Comments
 (0)