Skip to content

Commit ed3332e

Browse files
committed
Auto-generated commit
1 parent 5e757a8 commit ed3332e

File tree

7 files changed

+17
-10
lines changed

7 files changed

+17
-10
lines changed

CHANGELOG.md

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

261261
<details>
262262

263+
- [`ec5723e`](https://github.com/stdlib-js/stdlib/commit/ec5723e300a5d71760c93a7e03b6aff9c9a62148) - **bench:** refactor to use string interpolation in `array/nans` [(#9948)](https://github.com/stdlib-js/stdlib/pull/9948) _(by Aman Singh)_
263264
- [`e0024f5`](https://github.com/stdlib-js/stdlib/commit/e0024f57d0cb09f2c897025dbc466732706f1eb8) - **bench:** refactor to use string interpolation in `array/nans-like` [(#9949)](https://github.com/stdlib-js/stdlib/pull/9949) _(by Aman Singh)_
264265
- [`d049e52`](https://github.com/stdlib-js/stdlib/commit/d049e5243020569ca3918432053c8b81e7652047) - **bench:** refactor to use string interpolation in `array/one-to` [(#9950)](https://github.com/stdlib-js/stdlib/pull/9950) _(by Aman Singh)_
265266
- [`c78d081`](https://github.com/stdlib-js/stdlib/commit/c78d081deff5ed3bc95010860bc5003cfb0a0563) - **bench:** refactor to use string interpolation in `array/one-to-like` [(#9952)](https://github.com/stdlib-js/stdlib/pull/9952) _(by Aman Singh)_

nans/benchmark/benchmark.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
var bench = require( '@stdlib/bench' );
2424
var isTypedArrayLike = require( '@stdlib/assert/is-typed-array-like' );
2525
var isArray = require( '@stdlib/assert/is-array' );
26+
var format = require( '@stdlib/string/format' );
2627
var pkg = require( './../package.json' ).name;
2728
var nans = require( './../lib' );
2829

@@ -47,7 +48,7 @@ bench( pkg, function benchmark( b ) {
4748
b.end();
4849
});
4950

50-
bench( pkg+':dtype=float64', function benchmark( b ) {
51+
bench( format( '%s:dtype=%s', pkg, 'float64' ), function benchmark( b ) {
5152
var arr;
5253
var i;
5354
b.tic();
@@ -65,7 +66,7 @@ bench( pkg+':dtype=float64', function benchmark( b ) {
6566
b.end();
6667
});
6768

68-
bench( pkg+':dtype=float32', function benchmark( b ) {
69+
bench( format( '%s:dtype=%s', pkg, 'float32' ), function benchmark( b ) {
6970
var arr;
7071
var i;
7172
b.tic();
@@ -83,7 +84,7 @@ bench( pkg+':dtype=float32', function benchmark( b ) {
8384
b.end();
8485
});
8586

86-
bench( pkg+':dtype=complex128', function benchmark( b ) {
87+
bench( format( '%s:dtype=%s', pkg, 'complex128' ), function benchmark( b ) {
8788
var arr;
8889
var i;
8990
b.tic();
@@ -101,7 +102,7 @@ bench( pkg+':dtype=complex128', function benchmark( b ) {
101102
b.end();
102103
});
103104

104-
bench( pkg+':dtype=complex64', function benchmark( b ) {
105+
bench( format( '%s:dtype=%s', pkg, 'complex64' ), function benchmark( b ) {
105106
var arr;
106107
var i;
107108
b.tic();
@@ -119,7 +120,7 @@ bench( pkg+':dtype=complex64', function benchmark( b ) {
119120
b.end();
120121
});
121122

122-
bench( pkg+':dtype=generic', function benchmark( b ) {
123+
bench( format( '%s:dtype=%s', pkg, 'generic' ), function benchmark( b ) {
123124
var arr;
124125
var i;
125126
b.tic();

nans/benchmark/benchmark.length.complex128.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
var bench = require( '@stdlib/bench' );
2424
var pow = require( '@stdlib/math/base/special/pow' );
2525
var isTypedArrayLike = require( '@stdlib/assert/is-typed-array-like' );
26+
var format = require( '@stdlib/string/format' );
2627
var pkg = require( './../package.json' ).name;
2728
var nans = require( './../lib' );
2829

@@ -86,7 +87,7 @@ function main() {
8687
for ( i = min; i <= max; i++ ) {
8788
len = pow( 10, i );
8889
f = createBenchmark( len );
89-
bench( pkg+':dtype=complex128,len='+len, f );
90+
bench( format( '%s:dtype=%s,len=%d', pkg, 'complex128', len ), f );
9091
}
9192
}
9293

nans/benchmark/benchmark.length.complex64.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
var bench = require( '@stdlib/bench' );
2424
var pow = require( '@stdlib/math/base/special/pow' );
2525
var isTypedArrayLike = require( '@stdlib/assert/is-typed-array-like' );
26+
var format = require( '@stdlib/string/format' );
2627
var pkg = require( './../package.json' ).name;
2728
var nans = require( './../lib' );
2829

@@ -86,7 +87,7 @@ function main() {
8687
for ( i = min; i <= max; i++ ) {
8788
len = pow( 10, i );
8889
f = createBenchmark( len );
89-
bench( pkg+':dtype=complex64,len='+len, f );
90+
bench( format( '%s:dtype=%s,len=%d', pkg, 'complex64', len ), f );
9091
}
9192
}
9293

nans/benchmark/benchmark.length.float32.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
var bench = require( '@stdlib/bench' );
2424
var pow = require( '@stdlib/math/base/special/pow' );
2525
var isTypedArray = require( '@stdlib/assert/is-typed-array' );
26+
var format = require( '@stdlib/string/format' );
2627
var pkg = require( './../package.json' ).name;
2728
var nans = require( './../lib' );
2829

@@ -86,7 +87,7 @@ function main() {
8687
for ( i = min; i <= max; i++ ) {
8788
len = pow( 10, i );
8889
f = createBenchmark( len );
89-
bench( pkg+':dtype=float32,len='+len, f );
90+
bench( format( '%s:dtype=%s,len=%d', pkg, 'float32', len ), f );
9091
}
9192
}
9293

nans/benchmark/benchmark.length.float64.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
var bench = require( '@stdlib/bench' );
2424
var pow = require( '@stdlib/math/base/special/pow' );
2525
var isTypedArray = require( '@stdlib/assert/is-typed-array' );
26+
var format = require( '@stdlib/string/format' );
2627
var pkg = require( './../package.json' ).name;
2728
var nans = require( './../lib' );
2829

@@ -86,7 +87,7 @@ function main() {
8687
for ( i = min; i <= max; i++ ) {
8788
len = pow( 10, i );
8889
f = createBenchmark( len );
89-
bench( pkg+':dtype=float64,len='+len, f );
90+
bench( format( '%s:dtype=%s,len=%d', pkg, 'float64', len ), f );
9091
}
9192
}
9293

nans/benchmark/benchmark.length.generic.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
var bench = require( '@stdlib/bench' );
2424
var pow = require( '@stdlib/math/base/special/pow' );
2525
var isArray = require( '@stdlib/assert/is-array' );
26+
var format = require( '@stdlib/string/format' );
2627
var pkg = require( './../package.json' ).name;
2728
var nans = require( './../lib' );
2829

@@ -86,7 +87,7 @@ function main() {
8687
for ( i = min; i <= max; i++ ) {
8788
len = pow( 10, i );
8889
f = createBenchmark( len );
89-
bench( pkg+':dtype=generic,len='+len, f );
90+
bench( format( '%s:dtype=%s,len=%d', pkg, 'generic', len ), f );
9091
}
9192
}
9293

0 commit comments

Comments
 (0)