Skip to content

Commit c1545fb

Browse files
committed
Auto-generated commit
1 parent a19d67f commit c1545fb

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
lines changed

CHANGELOG.md

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

724724
<details>
725725

726+
- [`2c843b8`](https://github.com/stdlib-js/stdlib/commit/2c843b85223c779af86697cef8522f3f6d955976) - **bench:** refactor to use string interpolation in `math/strided/special/abs` [(#11092)](https://github.com/stdlib-js/stdlib/pull/11092) _(by Partha Das)_
726727
- [`68a70e3`](https://github.com/stdlib-js/stdlib/commit/68a70e3e372c8c4c625977401a67d9ab4d9b9ae3) - **bench:** refactor to use string interpolation in `math/strided/ops/sub` [(#11093)](https://github.com/stdlib-js/stdlib/pull/11093) _(by Partha Das)_
727728
- [`dc2ab17`](https://github.com/stdlib-js/stdlib/commit/dc2ab175c0358e31a4e1702c73d4c91c1a6c4e6b) - **chore:** fix JavaScript lint errors [(#11015)](https://github.com/stdlib-js/stdlib/pull/11015) _(by Baixiaochun, Athan Reines)_
728729
- [`fda6d89`](https://github.com/stdlib-js/stdlib/commit/fda6d8918aaab28bd1b422d32314970d0fb8215b) - **chore:** fix EditorConfig lint errors [(#11046)](https://github.com/stdlib-js/stdlib/pull/11046) _(by Baixiaochun)_

strided/special/abs/benchmark/benchmark.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ var round = require( './../../../../base/special/round' );
2828
var filledarray = require( '@stdlib/array/filled' );
2929
var resolveEnum = require( '@stdlib/strided/base/dtype-resolve-enum' );
3030
var enum2str = require( '@stdlib/strided/base/dtype-enum2str' );
31+
var format = require( '@stdlib/string/format' );
3132
var pkg = require( './../package.json' ).name;
3233
var types = require( './../lib/types.json' );
3334
var strided = require( './../lib/main.js' );
@@ -109,7 +110,7 @@ function main() {
109110
for ( i = min; i <= max; i++ ) {
110111
len = pow( 10, i );
111112
f = createBenchmark( len, t1, t2 );
112-
bench( pkg+':len='+len+',xtype='+t1+',ytype='+t2, f );
113+
bench( format( '%s:len=%d,xtype=%s,ytype=%s', pkg, len, t1, t2 ), f );
113114
}
114115
}
115116
}

strided/special/abs/benchmark/benchmark.native.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ var filledarray = require( '@stdlib/array/filled' );
3030
var resolveEnum = require( '@stdlib/strided/base/dtype-resolve-enum' );
3131
var enum2str = require( '@stdlib/strided/base/dtype-enum2str' );
3232
var tryRequire = require( '@stdlib/utils/try-require' );
33+
var format = require( '@stdlib/string/format' );
3334
var pkg = require( './../package.json' ).name;
3435
var types = require( './../lib/types.json' );
3536

@@ -118,7 +119,7 @@ function main() {
118119
for ( i = min; i <= max; i++ ) {
119120
len = pow( 10, i );
120121
f = createBenchmark( len, t1, t2 );
121-
bench( pkg+'::native:len='+len+',xtype='+t1+',ytype='+t2, opts, f );
122+
bench( format( '%s::native:len=%d,xtype=%s,ytype=%s', pkg, len, t1, t2 ), opts, f );
122123
}
123124
}
124125
}

strided/special/abs/benchmark/benchmark.ndarray.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ var round = require( './../../../../base/special/round' );
2828
var filledarray = require( '@stdlib/array/filled' );
2929
var resolveEnum = require( '@stdlib/strided/base/dtype-resolve-enum' );
3030
var enum2str = require( '@stdlib/strided/base/dtype-enum2str' );
31+
var format = require( '@stdlib/string/format' );
3132
var pkg = require( './../package.json' ).name;
3233
var types = require( './../lib/types.json' );
3334
var strided = require( './../lib/ndarray.js' );
@@ -109,7 +110,7 @@ function main() {
109110
for ( i = min; i <= max; i++ ) {
110111
len = pow( 10, i );
111112
f = createBenchmark( len, t1, t2 );
112-
bench( pkg+':ndarray:len='+len+',xtype='+t1+',ytype='+t2, f );
113+
bench( format( '%s:ndarray:len=%d,xtype=%s,ytype=%s', pkg, len, t1, t2 ), f );
113114
}
114115
}
115116
}

strided/special/abs/benchmark/benchmark.ndarray.native.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ var filledarray = require( '@stdlib/array/filled' );
3030
var resolveEnum = require( '@stdlib/strided/base/dtype-resolve-enum' );
3131
var enum2str = require( '@stdlib/strided/base/dtype-enum2str' );
3232
var tryRequire = require( '@stdlib/utils/try-require' );
33+
var format = require( '@stdlib/string/format' );
3334
var pkg = require( './../package.json' ).name;
3435
var types = require( './../lib/types.json' );
3536

@@ -118,7 +119,7 @@ function main() {
118119
for ( i = min; i <= max; i++ ) {
119120
len = pow( 10, i );
120121
f = createBenchmark( len, t1, t2 );
121-
bench( pkg+'::native:ndarray:len='+len+',xtype='+t1+',ytype='+t2, opts, f );
122+
bench( format( '%s::native:ndarray:len=%d,xtype=%s,ytype=%s', pkg, len, t1, t2 ), opts, f );
122123
}
123124
}
124125
}

0 commit comments

Comments
 (0)