Skip to content

Commit 6849e34

Browse files
committed
bench: refactor to use string interpolation in blas/base/matrix-triangle-resolve-str
Ref: #8647.
1 parent 80a1fc1 commit 6849e34

File tree

2 files changed

+5
-4
lines changed
  • lib/node_modules/@stdlib/blas/base

2 files changed

+5
-4
lines changed

lib/node_modules/@stdlib/blas/base/matrix-orientation-resolve-str/benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2025 The Stdlib Authors.
4+
* Copyright (c) 2025-2026 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/blas/base/matrix-triangle-resolve-str/benchmark/benchmark.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2024-2026 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
@@ -23,13 +23,14 @@
2323
var bench = require( '@stdlib/bench' );
2424
var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
2525
var str2enum = require( '@stdlib/blas/base/matrix-triangle-str2enum' );
26+
var format = require( '@stdlib/string/format' );
2627
var pkg = require( './../package.json' ).name;
2728
var resolve = require( './../lib' );
2829

2930

3031
// MAIN //
3132

32-
bench( pkg+'::string', function benchmark( b ) {
33+
bench( format( '%s::string', pkg ), function benchmark( b ) {
3334
var values;
3435
var out;
3536
var i;
@@ -54,7 +55,7 @@ bench( pkg+'::string', function benchmark( b ) {
5455
b.end();
5556
});
5657

57-
bench( pkg+'::integer', function benchmark( b ) {
58+
bench( format( '%s::integer', pkg ), function benchmark( b ) {
5859
var values;
5960
var out;
6061
var i;

0 commit comments

Comments
 (0)