Skip to content

Commit f314761

Browse files
authored
bench: refactor to use string interpolation in wasm/base/arrays2ptrs
PR-URL: #9121 Ref: #8647 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent b295d2f commit f314761

File tree

1 file changed

+2
-1
lines changed
  • lib/node_modules/@stdlib/wasm/base/arrays2ptrs/benchmark

1 file changed

+2
-1
lines changed

lib/node_modules/@stdlib/wasm/base/arrays2ptrs/benchmark/benchmark.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
var bench = require( '@stdlib/bench' );
2424
var zeros = require( '@stdlib/array/zeros' );
2525
var isArray = require( '@stdlib/assert/is-array' );
26+
var format = require( '@stdlib/string/format' );
2627
var pkg = require( './../package.json' ).name;
2728
var arrays2ptrs = require( './../lib' );
2829

@@ -34,7 +35,7 @@ var Context = require( './fixtures/context.js' );
3435

3536
// MAIN //
3637

37-
bench( pkg+'::copy:num_arrays=2,len=10', function benchmark( b ) {
38+
bench( format( '%s::copy:num_arrays=2,len=10', pkg ), function benchmark( b ) {
3839
var arrays;
3940
var ctx;
4041
var out;

0 commit comments

Comments
 (0)