Skip to content

Commit c79f874

Browse files
committed
Auto-generated commit
1 parent fac506b commit c79f874

File tree

4 files changed

+40
-5
lines changed

4 files changed

+40
-5
lines changed

.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-17)
8+
9+
<section class="commits">
10+
11+
### Commits
12+
13+
<details>
14+
15+
- [`6d6b9d4`](https://github.com/stdlib-js/stdlib/commit/6d6b9d42d8904ca49fb55e2ca464780573886aa0) - **bench:** refactor to use string interpolation in `@stdlib/ndarray` [(#11446)](https:-/github.com/stdlib-js/stdlib/pull/11446) _(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.1d.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ var pow = require( '@stdlib/math-base-special-pow' );
2626
var discreteUniform = require( '@stdlib/random-array-discrete-uniform' );
2727
var shape2strides = require( '@stdlib/ndarray-base-shape2strides' );
2828
var ndarray = require( '@stdlib/ndarray-ctor' );
29+
var format = require( '@stdlib/string-format' );
2930
var pkg = require( './../package.json' ).name;
3031
var countFalsy = require( './../lib' );
3132

@@ -127,7 +128,7 @@ function main() {
127128

128129
sh = [ len ];
129130
f = createBenchmark( len, sh, t1, ord, dims );
130-
bench( pkg+':ndims='+sh.length+',len='+len+',shape=['+sh.join(',')+'],xorder='+ord+',xtype='+t1+',dims=['+dims.join(',')+']', f );
131+
bench( format( '%s:ndims=%d,len=%d,shape=[%s],xorder=%s,xtype=%s,dims=[%s]', pkg, sh.length, len, sh.join(','), ord, t1, dims.join(',') ), f );
131132
}
132133
}
133134
}

benchmark/benchmark.2d.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ var floor = require( '@stdlib/math-base-special-floor' );
2828
var discreteUniform = require( '@stdlib/random-array-discrete-uniform' );
2929
var shape2strides = require( '@stdlib/ndarray-base-shape2strides' );
3030
var ndarray = require( '@stdlib/ndarray-ctor' );
31+
var format = require( '@stdlib/string-format' );
3132
var pkg = require( './../package.json' ).name;
3233
var countFalsy = require( './../lib' );
3334

@@ -131,17 +132,17 @@ function main() {
131132

132133
sh = [ len/2, 2 ];
133134
f = createBenchmark( len, sh, t1, ord, dims );
134-
bench( pkg+':ndims='+sh.length+',len='+len+',shape=['+sh.join(',')+'],xorder='+ord+',xtype='+t1+',dims=['+dims.join(',')+']', f );
135+
bench( format( '%s:ndims=%d,len=%d,shape=[%s],xorder=%s,xtype=%s,dims=[%s]', pkg, sh.length, len, sh.join(','), ord, t1, dims.join(',') ), f );
135136

136137
sh = [ 2, len/2 ];
137138
f = createBenchmark( len, sh, t1, ord, dims );
138-
bench( pkg+':ndims='+sh.length+',len='+len+',shape=['+sh.join(',')+'],xorder='+ord+',xtype='+t1+',dims=['+dims.join(',')+']', f );
139+
bench( format( '%s:ndims=%d,len=%d,shape=[%s],xorder=%s,xtype=%s,dims=[%s]', pkg, sh.length, len, sh.join(','), ord, t1, dims.join(',') ), f );
139140

140141
len = floor( sqrt( len ) );
141142
sh = [ len, len ];
142143
len *= len;
143144
f = createBenchmark( len, sh, t1, ord, dims );
144-
bench( pkg+':ndims='+sh.length+',len='+len+',shape=['+sh.join(',')+'],xorder='+ord+',xtype='+t1+',dims=['+dims.join(',')+']', f );
145+
bench( format( '%s:ndims=%d,len=%d,shape=[%s],xorder=%s,xtype=%s,dims=[%s]', pkg, sh.length, len, sh.join(','), ord, t1, dims.join(',') ), f );
145146
}
146147
}
147148
}

0 commit comments

Comments
 (0)