Skip to content

Commit 4ea59e9

Browse files
authored
bench: refactor to use string interpolation in utils/some
PR-URL: #10866 Ref: #8647 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 0fd4f45 commit 4ea59e9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/node_modules/@stdlib/utils/some/benchmark/benchmark.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323
var bench = require( '@stdlib/bench' );
2424
var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
25+
var format = require( '@stdlib/string/format' );
2526
var pkg = require( './../package.json' ).name;
2627
var some = require( './../lib' );
2728

@@ -49,7 +50,7 @@ bench( pkg, function benchmark( b ) {
4950
b.end();
5051
});
5152

52-
bench( pkg+'::loop', function benchmark( b ) {
53+
bench( format( '%s::loop', pkg ), function benchmark( b ) {
5354
var total;
5455
var count;
5556
var bool;

0 commit comments

Comments
 (0)