From 7b39a677332af90cdeb481ea36807a88550f445c Mon Sep 17 00:00:00 2001 From: Bhargav Dabhade Date: Fri, 16 Jan 2026 19:09:52 +0000 Subject: [PATCH] bench: refactor to use string interpolation in stats/base/dists/rayleigh --- 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 --- --- .../base/dists/rayleigh/stdev/benchmark/benchmark.native.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/rayleigh/stdev/benchmark/benchmark.native.js b/lib/node_modules/@stdlib/stats/base/dists/rayleigh/stdev/benchmark/benchmark.native.js index 341ed32cfe0b..ec2098d19251 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/rayleigh/stdev/benchmark/benchmark.native.js +++ b/lib/node_modules/@stdlib/stats/base/dists/rayleigh/stdev/benchmark/benchmark.native.js @@ -28,6 +28,7 @@ var uniform = require( '@stdlib/random/base/uniform' ); var EPS = require( '@stdlib/constants/float64/eps' ); var isnan = require( '@stdlib/math/base/assert/is-nan' ); var tryRequire = require( '@stdlib/utils/try-require' ); +var format = require( '@stdlib/string/format' ); var pkg = require( './../package.json' ).name; @@ -41,7 +42,7 @@ var opts = { // MAIN // -bench( pkg+'::native', opts, function benchmark( b ) { +bench( format( '%s::native', pkg ), opts, function benchmark( b ) { var sigma; var len; var y;