Skip to content

Commit a3fef3c

Browse files
committed
Auto-generated commit
1 parent 30b0a4b commit a3fef3c

5 files changed

Lines changed: 65 additions & 13 deletions

File tree

.github/.keepalive

Lines changed: 0 additions & 1 deletion
This file was deleted.

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ package.json.copy
2525
###############
2626
build/
2727
downloads/
28+
plans/
2829
reports/
2930
tmp/
3031

@@ -175,6 +176,10 @@ acs-*.bib
175176
*.ind
176177
*.ist
177178

179+
# Git #
180+
#######
181+
.worktrees
182+
178183
# Visual Studio #
179184
#################
180185
.vscode/

.npmrc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,16 @@ save = false
2929

3030
# Do not generate provenance metadata:
3131
provenance = false
32+
33+
# Prefer cached dependencies during install:
34+
prefer-offline = true
35+
36+
# Require signing Git commits and tags when using `npm version`:
37+
sign-git-commit = true
38+
sign-git-tag = true
39+
40+
# Run Git commit hooks when using `npm version`:
41+
commit-hooks = true
42+
43+
# Require that dependencies within the dependency tree have a minimum release age (in days) in order to guard against supply chain attacks:
44+
min-release-age = 90

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-05-20)
8+
9+
<section class="commits">
10+
11+
### Commits
12+
13+
<details>
14+
15+
- [`1a5e918`](https://github.com/stdlib-js/stdlib/commit/1a5e918630d60846c8a45a1f51687ed441c54dbe) - **bench:** refactor to use string interpolation in `ndarray/base` [(#11437)](https://github.com/stdlib-js/stdlib/pull/11437) _(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: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,14 @@ var discreteUniform = require( '@stdlib/random-base-discrete-uniform' );
2727
var isInteger = require( '@stdlib/assert-is-integer' ).isPrimitive;
2828
var shape2strides = require( '@stdlib/ndarray-base-shape2strides' );
2929
var strides2offset = require( '@stdlib/ndarray-base-strides2offset' );
30+
var format = require( '@stdlib/string-format' );
3031
var pkg = require( './../package.json' ).name;
3132
var sub2ind = require( './../lib' );
3233

3334

3435
// MAIN //
3536

36-
bench( pkg+':mode=[throw]', function benchmark( b ) {
37+
bench( format( '%s:mode=[throw]', pkg ), function benchmark( b ) {
3738
var strides;
3839
var offset;
3940
var shape;
@@ -69,7 +70,7 @@ bench( pkg+':mode=[throw]', function benchmark( b ) {
6970
b.end();
7071
});
7172

72-
bench( pkg+':mode=[throw],offset=0', function benchmark( b ) {
73+
bench( format( '%s:mode=[throw],offset=0', pkg ), function benchmark( b ) {
7374
var strides;
7475
var offset;
7576
var shape;
@@ -108,7 +109,7 @@ bench( pkg+':mode=[throw],offset=0', function benchmark( b ) {
108109
b.end();
109110
});
110111

111-
bench( pkg+':mode=[wrap]', function benchmark( b ) {
112+
bench( format( '%s:mode=[wrap]', pkg ), function benchmark( b ) {
112113
var strides;
113114
var offset;
114115
var shape;
@@ -144,7 +145,7 @@ bench( pkg+':mode=[wrap]', function benchmark( b ) {
144145
b.end();
145146
});
146147

147-
bench( pkg+':mode=[wrap],offset=0', function benchmark( b ) {
148+
bench( format( '%s:mode=[wrap],offset=0', pkg ), function benchmark( b ) {
148149
var strides;
149150
var offset;
150151
var shape;
@@ -183,7 +184,7 @@ bench( pkg+':mode=[wrap],offset=0', function benchmark( b ) {
183184
b.end();
184185
});
185186

186-
bench( pkg+':mode=[clamp]', function benchmark( b ) {
187+
bench( format( '%s:mode=[clamp]', pkg ), function benchmark( b ) {
187188
var strides;
188189
var offset;
189190
var shape;
@@ -219,7 +220,7 @@ bench( pkg+':mode=[clamp]', function benchmark( b ) {
219220
b.end();
220221
});
221222

222-
bench( pkg+':mode=[clamp],offset=0', function benchmark( b ) {
223+
bench( format( '%s:mode=[clamp],offset=0', pkg ), function benchmark( b ) {
223224
var strides;
224225
var offset;
225226
var shape;
@@ -258,7 +259,7 @@ bench( pkg+':mode=[clamp],offset=0', function benchmark( b ) {
258259
b.end();
259260
});
260261

261-
bench( pkg+':mode=[normalize]', function benchmark( b ) {
262+
bench( format( '%s:mode=[normalize]', pkg ), function benchmark( b ) {
262263
var strides;
263264
var offset;
264265
var shape;
@@ -294,7 +295,7 @@ bench( pkg+':mode=[normalize]', function benchmark( b ) {
294295
b.end();
295296
});
296297

297-
bench( pkg+':mode=[normalize],offset=0', function benchmark( b ) {
298+
bench( format( '%s:mode=[normalize],offset=0', pkg ), function benchmark( b ) {
298299
var strides;
299300
var offset;
300301
var shape;
@@ -333,7 +334,7 @@ bench( pkg+':mode=[normalize],offset=0', function benchmark( b ) {
333334
b.end();
334335
});
335336

336-
bench( pkg+':mode=[wrap,clamp]', function benchmark( b ) {
337+
bench( format( '%s:mode=[wrap,clamp]', pkg ), function benchmark( b ) {
337338
var strides;
338339
var offset;
339340
var shape;
@@ -369,7 +370,7 @@ bench( pkg+':mode=[wrap,clamp]', function benchmark( b ) {
369370
b.end();
370371
});
371372

372-
bench( pkg+':mode=[wrap,clamp,clamp]', function benchmark( b ) {
373+
bench( format( '%s:mode=[wrap,clamp,clamp]', pkg ), function benchmark( b ) {
373374
var strides;
374375
var offset;
375376
var shape;
@@ -405,7 +406,7 @@ bench( pkg+':mode=[wrap,clamp,clamp]', function benchmark( b ) {
405406
b.end();
406407
});
407408

408-
bench( pkg+':mode=[clamp,wrap]', function benchmark( b ) {
409+
bench( format( '%s:mode=[clamp,wrap]', pkg ), function benchmark( b ) {
409410
var strides;
410411
var offset;
411412
var shape;
@@ -441,7 +442,7 @@ bench( pkg+':mode=[clamp,wrap]', function benchmark( b ) {
441442
b.end();
442443
});
443444

444-
bench( pkg+':mode=[clamp,wrap,wrap]', function benchmark( b ) {
445+
bench( format( '%s:mode=[clamp,wrap,wrap]', pkg ), function benchmark( b ) {
445446
var strides;
446447
var offset;
447448
var shape;

0 commit comments

Comments
 (0)