From bda7a06e3d20f8dfbd4cadf5e3ab07dee10c4c5e Mon Sep 17 00:00:00 2001 From: Aniket Sonawane Date: Sat, 7 Mar 2026 03:55:23 +0530 Subject: [PATCH 1/2] bench: use string interpolation in stats/array/stdev --- 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/stats/array/stdev/benchmark/benchmark.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/stats/array/stdev/benchmark/benchmark.js b/lib/node_modules/@stdlib/stats/array/stdev/benchmark/benchmark.js index 46da1e3bedfd..708a7efac787 100644 --- a/lib/node_modules/@stdlib/stats/array/stdev/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/stats/array/stdev/benchmark/benchmark.js @@ -24,6 +24,7 @@ var bench = require( '@stdlib/bench' ); var uniform = require( '@stdlib/random/array/uniform' ); var isnan = require( '@stdlib/math/base/assert/is-nan' ); var pow = require( '@stdlib/math/base/special/pow' ); +var format = require( '@stdlib/string/format' ); var pkg = require( './../package.json' ).name; var stdev = require( './../lib' ); @@ -95,7 +96,7 @@ function main() { for ( i = min; i <= max; i++ ) { len = pow( 10, i ); f = createBenchmark( len ); - bench( pkg+':len='+len, f ); + bench( format( '%s:len=%d', pkg, len ), f ); } } From e9b0b9d93522628372fa8b1d6dceb4384f510c92 Mon Sep 17 00:00:00 2001 From: Aniket Sonawane Date: Sat, 7 Mar 2026 04:39:52 +0530 Subject: [PATCH 2/2] bench: use string interpolation in stats/array/stdev --- 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/stats/array/stdev/benchmark/benchmark.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/stats/array/stdev/benchmark/benchmark.js b/lib/node_modules/@stdlib/stats/array/stdev/benchmark/benchmark.js index 708a7efac787..670e0e9e6cb2 100644 --- a/lib/node_modules/@stdlib/stats/array/stdev/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/stats/array/stdev/benchmark/benchmark.js @@ -96,7 +96,7 @@ function main() { for ( i = min; i <= max; i++ ) { len = pow( 10, i ); f = createBenchmark( len ); - bench( format( '%s:len=%d', pkg, len ), f ); + bench( format( '%s: len=%d', pkg, len ), f ); } }