From 4de603f3aa87fb5b86de33ad0748ed074a551327 Mon Sep 17 00:00:00 2001 From: Karan Anand Date: Sun, 19 Apr 2026 13:03:33 -0400 Subject: [PATCH] bench: refactor to use string interpolation in `@stdlib/namespace` --- 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 --- --- .../@stdlib/namespace/aliases/benchmark/benchmark.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/namespace/aliases/benchmark/benchmark.js b/lib/node_modules/@stdlib/namespace/aliases/benchmark/benchmark.js index c6e59da9c7f1..3b1deec60960 100644 --- a/lib/node_modules/@stdlib/namespace/aliases/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/namespace/aliases/benchmark/benchmark.js @@ -22,6 +22,7 @@ var bench = require( '@stdlib/bench' ); var isStringArray = require( '@stdlib/assert/is-string-array' ).primitives; +var format = require( '@stdlib/string/format' ); var pkg = require( './../package.json' ).name; var aliases = require( './../lib' ); @@ -47,7 +48,7 @@ bench( pkg, function benchmark( b ) { b.end(); }); -bench( pkg+'::filter', function benchmark( b ) { +bench( format( '%s::filter', pkg ), function benchmark( b ) { var v; var i;