Skip to content

Commit 1a62e75

Browse files
authored
bench: use string interpolation in strided/base/binary-signature-callbacks
PR-URL: #10581 Ref: #8647 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 0e62b3f commit 1a62e75

File tree

1 file changed

+3
-2
lines changed
  • lib/node_modules/@stdlib/strided/base/binary-signature-callbacks/benchmark

1 file changed

+3
-2
lines changed

lib/node_modules/@stdlib/strided/base/binary-signature-callbacks/benchmark/benchmark.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ var signatures = require( '@stdlib/strided/base/binary-dtype-signatures' );
2727
var cadd = require( '@stdlib/complex/float64/base/add' );
2828
var caddf = require( '@stdlib/complex/float32/base/add' );
2929
var add = require( '@stdlib/number/float64/base/add' );
30+
var format = require( '@stdlib/string/format' );
3031
var pkg = require( './../package.json' ).name;
3132
var callbacks = require( './../lib' );
3233

@@ -42,7 +43,7 @@ var TABLE = {
4243

4344
// MAIN //
4445

45-
bench( pkg+'::strings', function benchmark( b ) {
46+
bench( format( '%s::strings', pkg ), function benchmark( b ) {
4647
var sigs;
4748
var out;
4849
var v1;
@@ -72,7 +73,7 @@ bench( pkg+'::strings', function benchmark( b ) {
7273
b.end();
7374
});
7475

75-
bench( pkg+'::enums', function benchmark( b ) {
76+
bench( format( '%s::enums', pkg ), function benchmark( b ) {
7677
var sigs;
7778
var out;
7879
var v1;

0 commit comments

Comments
 (0)