Skip to content

Commit 17c4b04

Browse files
committed
Auto-generated commit
1 parent ad7f2d6 commit 17c4b04

4 files changed

Lines changed: 41 additions & 6 deletions

File tree

.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-20)
8+
9+
<section class="commits">
10+
11+
### Commits
12+
13+
<details>
14+
15+
- [`9bd779b`](https://github.com/stdlib-js/stdlib/commit/9bd779b6861c3cd6eed1aead5cea15debc43407f) - **bench:** refactor to use string interpolation in `slice` [(#11590)](https://github.com/stdlib-js/stdlib/pull/11590) _(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.2.3">
640

741
## 0.2.3 (2026-02-04)

benchmark/benchmark.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ var isNonNegativeIntegerArray = require( '@stdlib/assert-is-nonnegative-integer-
2727
var S = require( '@stdlib/slice-ctor' );
2828
var MultiSlice = require( '@stdlib/slice-multi' );
2929
var normalizeMultiSlice = require( '@stdlib/slice-base-normalize-multi-slice' );
30+
var format = require( '@stdlib/string-format' );
3031
var pkg = require( './../package.json' ).name;
3132
var sliceShape = require( './../lib' );
3233

@@ -55,7 +56,7 @@ var SLICES = [
5556

5657
// MAIN //
5758

58-
bench( pkg+':ndims=1', function benchmark( b ) {
59+
bench( format( '%s:ndims=1', pkg ), function benchmark( b ) {
5960
var values;
6061
var shape;
6162
var out;
@@ -93,7 +94,7 @@ bench( pkg+':ndims=1', function benchmark( b ) {
9394
b.end();
9495
});
9596

96-
bench( pkg+':ndims=2', function benchmark( b ) {
97+
bench( format( '%s:ndims=2', pkg ), function benchmark( b ) {
9798
var values;
9899
var shape;
99100
var out;
@@ -133,7 +134,7 @@ bench( pkg+':ndims=2', function benchmark( b ) {
133134
b.end();
134135
});
135136

136-
bench( pkg+':ndims=3', function benchmark( b ) {
137+
bench( format( '%s:ndims=3', pkg ), function benchmark( b ) {
137138
var values;
138139
var shape;
139140
var out;
@@ -173,7 +174,7 @@ bench( pkg+':ndims=3', function benchmark( b ) {
173174
b.end();
174175
});
175176

176-
bench( pkg+':ndims=4', function benchmark( b ) {
177+
bench( format( '%s:ndims=4', pkg ), function benchmark( b ) {
177178
var values;
178179
var shape;
179180
var out;
@@ -213,7 +214,7 @@ bench( pkg+':ndims=4', function benchmark( b ) {
213214
b.end();
214215
});
215216

216-
bench( pkg+':ndims=5', function benchmark( b ) {
217+
bench( format( '%s:ndims=5', pkg ), function benchmark( b ) {
217218
var values;
218219
var shape;
219220
var out;

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
"@stdlib/slice-base-normalize-multi-slice": "^0.2.4",
4646
"@stdlib/slice-ctor": "^0.2.3",
4747
"@stdlib/slice-multi": "^0.2.3",
48+
"@stdlib/string-format": "^0.2.3",
4849
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
4950
"istanbul": "^0.4.1",
5051
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",

0 commit comments

Comments
 (0)