Skip to content

Commit f542882

Browse files
committed
Auto-generated commit
1 parent 875c84f commit f542882

5 files changed

Lines changed: 40 additions & 4 deletions

File tree

.github/.keepalive

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGELOG.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,40 @@
22

33
> Package changelog.
44
5+
<section class="release" id="unreleased">
6+
7+
## Unreleased (2026-04-21)
8+
9+
<section class="commits">
10+
11+
### Commits
12+
13+
<details>
14+
15+
- [`81e87d4`](https://github.com/stdlib-js/stdlib/commit/81e87d4457c65ba7481c7ab3701d2ee97d50c052) - **bench:** refactor to use string interpolation in `array` [(#11413)](https://github.com/stdlib-js/stdlib/pull/11413) _(by Karan Anand)_
16+
17+
</details>
18+
19+
</section>
20+
21+
<!-- /.commits -->
22+
23+
<section class="contributors">
24+
25+
### Contributors
26+
27+
A total of 1 person contributed to this release. Thank you to this contributor:
28+
29+
- Karan Anand
30+
31+
</section>
32+
33+
<!-- /.contributors -->
34+
35+
</section>
36+
37+
<!-- /.release -->
38+
539
<section class="release" id="v0.1.1">
640

741
## 0.1.1 (2026-02-08)

benchmark/benchmark.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,14 @@
2323
var bench = require( '@stdlib/bench-harness' );
2424
var isArray = require( '@stdlib/assert-is-array' );
2525
var zeroTo = require( '@stdlib/array-base-zero-to' );
26+
var format = require( '@stdlib/string-format' );
2627
var pkg = require( './../package.json' ).name;
2728
var scattered = require( './../lib' );
2829

2930

3031
// MAIN //
3132

32-
bench( pkg+'::no_broadcasting:len=100', function benchmark( b ) {
33+
bench( format( '%s::no_broadcasting:len=100', pkg ), function benchmark( b ) {
3334
var idx;
3435
var x;
3536
var i;
@@ -53,7 +54,7 @@ bench( pkg+'::no_broadcasting:len=100', function benchmark( b ) {
5354
b.end();
5455
});
5556

56-
bench( pkg+'::broadcasting:len=100', function benchmark( b ) {
57+
bench( format( '%s::broadcasting:len=100', pkg ), function benchmark( b ) {
5758
var idx;
5859
var i;
5960
var v;

benchmark/benchmark.length.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ var pow = require( '@stdlib/math-base-special-pow' );
2525
var discreteUniform = require( '@stdlib/random-array-discrete-uniform' );
2626
var zeroTo = require( '@stdlib/array-base-zero-to' );
2727
var isArray = require( '@stdlib/assert-is-array' );
28+
var format = require( '@stdlib/string-format' );
2829
var pkg = require( './../package.json' ).name;
2930
var scattered = require( './../lib' );
3031

@@ -104,7 +105,7 @@ function main() {
104105
for ( i = min; i <= max; i++ ) {
105106
len = pow( 10, i );
106107
f = createBenchmark( len );
107-
bench( pkg+':len='+len, f );
108+
bench( format( '%s:len=%d', pkg, len ), f );
108109
}
109110
}
110111

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"@stdlib/math-base-special-pow": "^0.3.1",
4949
"@stdlib/random-array-discrete-uniform": "^0.2.2",
5050
"@stdlib/random-base-discrete-uniform": "^0.2.2",
51+
"@stdlib/string-format": "^0.2.3",
5152
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
5253
"istanbul": "^0.4.1",
5354
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",

0 commit comments

Comments
 (0)