Skip to content

Commit 51cbc83

Browse files
committed
Auto-generated commit
1 parent fc4c049 commit 51cbc83

File tree

3 files changed

+20
-5
lines changed

3 files changed

+20
-5
lines changed

CHANGELOG.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2026-02-11)
7+
## Unreleased (2026-03-18)
88

99
<section class="commits">
1010

1111
### Commits
1212

1313
<details>
1414

15+
- [`6f315ad`](https://github.com/stdlib-js/stdlib/commit/6f315ad87f17870b81b176846bec718057ddadf6) - **bench:** refactor to use string interpolation in `ndarray/base/binary` [(#11018)](https://github.com/stdlib-js/stdlib/pull/11018) _(by Partha Das)_
1516
- [`0ae8a91`](https://github.com/stdlib-js/stdlib/commit/0ae8a917f3759d3228e59c3945b348398a21c7b7) - **docs:** remove extra empty line [(#10168)](https://github.com/stdlib-js/stdlib/pull/10168) _(by stdlib-bot)_
1617

1718
</details>
@@ -20,6 +21,18 @@
2021

2122
<!-- /.commits -->
2223

24+
<section class="contributors">
25+
26+
### Contributors
27+
28+
A total of 1 person contributed to this release. Thank you to this contributor:
29+
30+
- Partha Das
31+
32+
</section>
33+
34+
<!-- /.contributors -->
35+
2336
</section>
2437

2538
<!-- /.release -->

benchmark/benchmark.1d.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ var add = require( '@stdlib/number-float64-base-add' );
2828
var filledarray = require( '@stdlib/array-filled' );
2929
var shape2strides = require( '@stdlib/ndarray-base-shape2strides' );
3030
var orders = require( '@stdlib/ndarray-orders' );
31+
var format = require( '@stdlib/string-format' );
3132
var pkg = require( './../package.json' ).name;
3233
var binary = require( './../lib' );
3334

@@ -139,7 +140,7 @@ function main() {
139140

140141
sh = [ len ];
141142
f = createBenchmark( len, sh, t1, t2, ord );
142-
bench( pkg+':ndims='+sh.length+',len='+len+',shape=['+sh.join(',')+'],xorder='+ord+',yorder='+ord+',xtype='+t1+',ytype='+t2, f );
143+
bench( format( '%s:ndims=%d,len=%d,shape=[%s],xorder=%s,yorder=%s,xtype=%s,ytype=%s', pkg, sh.length, len, sh.join( ',' ), ord, ord, t1, t2 ), f );
143144
}
144145
}
145146
}

benchmark/benchmark.2d.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ var add = require( '@stdlib/number-float64-base-add' );
3131
var filledarray = require( '@stdlib/array-filled' );
3232
var shape2strides = require( '@stdlib/ndarray-base-shape2strides' );
3333
var orders = require( '@stdlib/ndarray-orders' );
34+
var format = require( '@stdlib/string-format' );
3435
var pkg = require( './../package.json' ).name;
3536
var binary = require( './../lib/2d.js' );
3637

@@ -145,17 +146,17 @@ function main() {
145146

146147
sh = [ len/2, 2 ];
147148
f = createBenchmark( len, sh, t1, t2, ord );
148-
bench( pkg+':ndims='+sh.length+',len='+len+',shape=['+sh.join(',')+'],xorder='+ord+',yorder='+ord+',xtype='+t1+',ytype='+t2, f );
149+
bench( format( '%s:ndims=%d,len=%d,shape=[%s],xorder=%s,yorder=%s,xtype=%s,ytype=%s', pkg, sh.length, len, sh.join( ',' ), ord, ord, t1, t2 ), f );
149150

150151
sh = [ 2, len/2 ];
151152
f = createBenchmark( len, sh, t1, t2, ord );
152-
bench( pkg+':ndims='+sh.length+',len='+len+',shape=['+sh.join(',')+'],xorder='+ord+',yorder='+ord+',xtype='+t1+',ytype='+t2, f );
153+
bench( format( '%s:ndims=%d,len=%d,shape=[%s],xorder=%s,yorder=%s,xtype=%s,ytype=%s', pkg, sh.length, len, sh.join( ',' ), ord, ord, t1, t2 ), f );
153154

154155
len = floor( sqrt( len ) );
155156
sh = [ len, len ];
156157
len *= len;
157158
f = createBenchmark( len, sh, t1, t2, ord );
158-
bench( pkg+':ndims='+sh.length+',len='+len+',shape=['+sh.join(',')+'],xorder='+ord+',yorder='+ord+',xtype='+t1+',ytype='+t2, f );
159+
bench( format( '%s:ndims=%d,len=%d,shape=[%s],xorder=%s,yorder=%s,xtype=%s,ytype=%s', pkg, sh.length, len, sh.join( ',' ), ord, ord, t1, t2 ), f );
159160
}
160161
}
161162
}

0 commit comments

Comments
 (0)