Skip to content

Commit be0a443

Browse files
committed
Auto-generated commit
1 parent df032b6 commit be0a443

6 files changed

Lines changed: 51 additions & 5 deletions

File tree

.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,15 @@ indent_style = tab
165165
indent_style = space
166166
indent_size = 2
167167
168+
# Ignore generated lock files for GitHub Agentic Workflows:
169+
[*.lock.yml]
170+
charset = unset
171+
end_of_line = unset
172+
indent_style = unset
173+
indent_size = unset
174+
trim_trailing_whitespace = unset
175+
insert_final_newline = unset
176+
168177
# Set properties for GYP files:
169178
[binding.gyp]
170179
indent_style = space

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,5 @@ Makefile linguist-vendored
6464

6565
# Configure files which should be included in GitHub language statistics:
6666
docs/types/*.d.ts -linguist-documentation
67+
68+
.github/workflows/*.lock.yml linguist-generated=true merge=ours

.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-19)
8+
9+
<section class="commits">
10+
11+
### Commits
12+
13+
<details>
14+
15+
- [`342466e`](https://github.com/stdlib-js/stdlib/commit/342466efa3e8837ecd245ff3dd51ef0c40c52ed6) - **bench:** refactor to use string interpolation in `@stdlib/assert` [(#11399)](https:-/github.com/stdlib-js/stdlib/pull/11399) _(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-07)

benchmark/benchmark.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ var isBoolean = require( '@stdlib/assert-is-boolean' ).isPrimitive;
2525
var pow = require( '@stdlib/math-base-special-pow' );
2626
var randu = require( '@stdlib/random-base-randu' );
2727
var Number = require( '@stdlib/number-ctor' );
28+
var format = require( '@stdlib/string-format' );
2829
var pkg = require( './../package.json' ).name;
2930
var isProbabilityArray = require( './../lib' );
3031

@@ -51,7 +52,7 @@ function createBenchmark( fcn, len, primitives ) {
5152
}
5253
} else {
5354
for ( i = 0; i < len; i++ ) {
54-
x.push( new Number( randu() ) ); // eslint-disable-line no-new-wrappers
55+
x.push( new Number( randu() ) );
5556
}
5657
}
5758
return benchmark;
@@ -107,13 +108,13 @@ function main() {
107108
len = pow( 10, i );
108109

109110
f = createBenchmark( isProbabilityArray, len, false );
110-
bench( pkg+':len='+len, f );
111+
bench( format( '%s:len=%d', pkg, len ), f );
111112

112113
f = createBenchmark( isProbabilityArray.primitives, len, true );
113-
bench( pkg+':primitives:len='+len, f );
114+
bench( format( '%s:primitives:len=%d', pkg, len ), f );
114115

115116
f = createBenchmark( isProbabilityArray.objects, len, false );
116-
bench( pkg+':objects:len='+len, f );
117+
bench( format( '%s:objects:len=%d', pkg, len ), f );
117118
}
118119
}
119120

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"@stdlib/math-base-special-pow": "^0.3.1",
4949
"@stdlib/number-ctor": "^0.2.3",
5050
"@stdlib/random-base-randu": "^0.2.3",
51+
"@stdlib/string-format": "^0.2.3",
5152
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
5253
"istanbul": "^0.4.1",
5354
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",

0 commit comments

Comments
 (0)