Skip to content

Commit 49e7f32

Browse files
committed
bench: refactor to use string interpolation in array/base/bifurcate-indices-by
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: passed - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent e7fbc24 commit 49e7f32

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/node_modules/@stdlib/array/base/bifurcate-indices-by/benchmark/benchmark.length.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ var bench = require( '@stdlib/bench' );
2424
var pow = require( '@stdlib/math/base/special/pow' );
2525
var isArrayArray = require( '@stdlib/assert/is-array-array' );
2626
var zeroTo = require( '@stdlib/array/base/zero-to' );
27+
var format = require( '@stdlib/string/format' );
2728
var pkg = require( './../package.json' ).name;
2829
var bifurcateIndicesBy = require( './../lib' );
2930

@@ -102,7 +103,7 @@ function main() {
102103
len = pow( 10, i );
103104

104105
f = createBenchmark( len );
105-
bench( pkg+':len='+len, f );
106+
bench( format( '%s:len=%d', pkg, len ), f );
106107
}
107108
}
108109

0 commit comments

Comments
 (0)