Skip to content

Commit c238476

Browse files
committed
Auto-generated commit
1 parent c7197c7 commit c238476

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

CHANGELOG.md

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

795795
<details>
796796

797+
- [`dd9e9c9`](https://github.com/stdlib-js/stdlib/commit/dd9e9c96f105f5abd240a575545ea6ba1a3e204c) - **bench:** refactor to use string interpolation in `ndarray/shift` [(#11073)](https://github.com/stdlib-js/stdlib/pull/11073) _(by Partha Das)_
797798
- [`3491dcf`](https://github.com/stdlib-js/stdlib/commit/3491dcff5f7dd2e56caab6e3f4cb4ed6460cb577) - **bench:** refactor to use string interpolation in `ndarray/fill` [(#11074)](https://github.com/stdlib-js/stdlib/pull/11074) _(by Partha Das)_
798799
- [`d2332f0`](https://github.com/stdlib-js/stdlib/commit/d2332f05feb48661bca9ab0058834ef29f396d23) - **bench:** refactor to use string interpolation in `ndarray/slice` [(#11075)](https://github.com/stdlib-js/stdlib/pull/11075) _(by Partha Das)_
799800
- [`3ea6462`](https://github.com/stdlib-js/stdlib/commit/3ea64620014043e0a7404296510739c3a4a3a08d) - **bench:** refactor to use string interpolation in `ndarray/includes` [(#11077)](https://github.com/stdlib-js/stdlib/pull/11077) _(by Partha Das)_

shift/benchmark/benchmark.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,14 @@
2323
var bench = require( '@stdlib/bench' );
2424
var isndarrayLike = require( '@stdlib/assert/is-ndarray-like' );
2525
var empty = require( './../../empty' );
26+
var format = require( '@stdlib/string/format' );
2627
var pkg = require( './../package.json' ).name;
2728
var shift = require( './../lib' );
2829

2930

3031
// MAIN //
3132

32-
bench( pkg+'::1d', function benchmark( b ) {
33+
bench( format( '%s::1d', pkg ), function benchmark( b ) {
3334
var values;
3435
var v;
3536
var i;
@@ -61,7 +62,7 @@ bench( pkg+'::1d', function benchmark( b ) {
6162
b.end();
6263
});
6364

64-
bench( pkg+'::2d', function benchmark( b ) {
65+
bench( format( '%s::2d', pkg ), function benchmark( b ) {
6566
var values;
6667
var v;
6768
var i;
@@ -93,7 +94,7 @@ bench( pkg+'::2d', function benchmark( b ) {
9394
b.end();
9495
});
9596

96-
bench( pkg+'::3d', function benchmark( b ) {
97+
bench( format( '%s::3d', pkg ), function benchmark( b ) {
9798
var values;
9899
var v;
99100
var i;
@@ -125,7 +126,7 @@ bench( pkg+'::3d', function benchmark( b ) {
125126
b.end();
126127
});
127128

128-
bench( pkg+'::4d', function benchmark( b ) {
129+
bench( format( '%s::4d', pkg ), function benchmark( b ) {
129130
var values;
130131
var v;
131132
var i;
@@ -157,7 +158,7 @@ bench( pkg+'::4d', function benchmark( b ) {
157158
b.end();
158159
});
159160

160-
bench( pkg+'::5d', function benchmark( b ) {
161+
bench( format( '%s::5d', pkg ), function benchmark( b ) {
161162
var values;
162163
var v;
163164
var i;

0 commit comments

Comments
 (0)