Skip to content

Commit 60b0d59

Browse files
committed
Auto-generated commit
1 parent 337e84a commit 60b0d59

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -785,6 +785,7 @@ A total of 44 issues were closed in this release:
785785

786786
<details>
787787

788+
- [`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)_
788789
- [`5a84c39`](https://github.com/stdlib-js/stdlib/commit/5a84c39850bf22552f8ab108d4cc3255a3a0cdf6) - **bench:** refactor to use string interpolation in `ndarray/base/buffer` [(#11020)](https://github.com/stdlib-js/stdlib/pull/11020) _(by Partha Das)_
789790
- [`a1f8442`](https://github.com/stdlib-js/stdlib/commit/a1f8442b4ed11aceb97c2b5e6e7e8fdc18d8317b) - **feat:** add `ndarray/to-flippedlr` [(#11016)](https://github.com/stdlib-js/stdlib/pull/11016) _(by Muhammad Haris, Athan Reines)_
790791
- [`eab49ad`](https://github.com/stdlib-js/stdlib/commit/eab49ad435f6080ec28a8fbb75de4d9520bdd7e4) - **fix:** ensure support for elements which are null or undefined _(by Athan Reines)_

base/binary/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( './../../../base/shape2strides' );
3030
var orders = require( './../../../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
}

base/binary/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( './../../../base/shape2strides' );
3333
var orders = require( './../../../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)