Skip to content

Commit 1aacb8c

Browse files
committed
Auto-generated commit
1 parent 5ffb6ee commit 1aacb8c

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 zeros = require( '@stdlib/ndarray-zeros' );
2727
var MultiSlice = require( '@stdlib/slice-multi' );
2828
var getData = require( '@stdlib/ndarray-data-buffer' );
29+
var format = require( '@stdlib/string-format' );
2930
var pkg = require( './../package.json' ).name;
3031
var fillSlice = require( './../lib' );
3132

@@ -119,7 +120,7 @@ function main() {
119120

120121
sh = [ len ];
121122
f = createBenchmark( len, sh, t1, ord );
122-
bench( pkg+':ndims='+sh.length+',len='+len+',shape=['+sh.join(',')+'],xorder='+ord+',xtype='+t1, f );
123+
bench( format( '%s:ndims=%d,len=%d,shape=[%s],xorder=%s,xtype=%s', pkg, sh.length, len, sh.join(','), ord, t1 ), f );
123124
}
124125
}
125126
}

benchmark/benchmark.2d.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ var sqrt = require( '@stdlib/math-base-special-sqrt' );
2828
var zeros = require( '@stdlib/ndarray-zeros' );
2929
var MultiSlice = require( '@stdlib/slice-multi' );
3030
var getData = require( '@stdlib/ndarray-data-buffer' );
31+
var format = require( '@stdlib/string-format' );
3132
var pkg = require( './../package.json' ).name;
3233
var fillSlice = require( './../lib' );
3334

@@ -121,17 +122,17 @@ function main() {
121122

122123
sh = [ len/2, 2 ];
123124
f = createBenchmark( len, sh, t1, ord );
124-
bench( pkg+':ndims='+sh.length+',len='+len+',shape=['+sh.join(',')+'],xorder='+ord+',xtype='+t1, f );
125+
bench( format( '%s:ndims=%d,len=%d,shape=[%s],xorder=%s,xtype=%s', pkg, sh.length, len, sh.join(','), ord, t1 ), f );
125126

126127
sh = [ 2, len/2 ];
127128
f = createBenchmark( len, sh, t1, ord );
128-
bench( pkg+':ndims='+sh.length+',len='+len+',shape=['+sh.join(',')+'],xorder='+ord+',xtype='+t1, f );
129+
bench( format( '%s:ndims=%d,len=%d,shape=[%s],xorder=%s,xtype=%s', pkg, sh.length, len, sh.join(','), ord, t1 ), f );
129130

130131
len = floor( sqrt( len ) );
131132
sh = [ len, len ];
132133
len *= len;
133134
f = createBenchmark( len, sh, t1, ord );
134-
bench( pkg+':ndims='+sh.length+',len='+len+',shape=['+sh.join(',')+'],xorder='+ord+',xtype='+t1, f );
135+
bench( format( '%s:ndims=%d,len=%d,shape=[%s],xorder=%s,xtype=%s', pkg, sh.length, len, sh.join(','), ord, t1 ), f );
135136
}
136137
}
137138
}

0 commit comments

Comments
 (0)