Skip to content

Commit 0a1fd8e

Browse files
authored
bench: refactor to use string interpolation in number/uint8/base/identity
PR-URL: stdlib-js#8943 Ref: stdlib-js#8647 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 45e4ab4 commit 0a1fd8e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/node_modules/@stdlib/number/uint8/base/identity/benchmark/benchmark.native.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ var bench = require( '@stdlib/bench' );
2525
var discreteUniform = require( '@stdlib/random/array/discrete-uniform' );
2626
var isnan = require( '@stdlib/math/base/assert/is-nan' );
2727
var tryRequire = require( '@stdlib/utils/try-require' );
28+
var format = require( '@stdlib/string/format' );
2829
var pkg = require( './../package.json' ).name;
2930

3031

@@ -38,7 +39,7 @@ var opts = {
3839

3940
// MAIN //
4041

41-
bench( pkg+'::native', opts, function benchmark( b ) {
42+
bench( format( '%s::native', pkg ), opts, function benchmark( b ) {
4243
var x;
4344
var y;
4445
var i;

0 commit comments

Comments
 (0)