Skip to content

Commit a6f90f8

Browse files
committed
Auto-generated commit
1 parent 2cd3556 commit a6f90f8

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

CHANGELOG.md

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

258258
<details>
259259

260+
- [`2be0aaf`](https://github.com/stdlib-js/stdlib/commit/2be0aaf5336c2ec9e2194f1e9e3087ad56cfdb85) - **bench:** refactor to use string interpolation in `array/base/take-map` [(#9050)](https://github.com/stdlib-js/stdlib/pull/9050) _(by DivitJain26)_
260261
- [`140d915`](https://github.com/stdlib-js/stdlib/commit/140d9159047d42d7c6e4cc455a6e26f5f47edfd5) - **bench:** refactor to use string interpolation in `array/base/take-indexed2` [(#9049)](https://github.com/stdlib-js/stdlib/pull/9049) _(by DivitJain26)_
261262
- [`646dd31`](https://github.com/stdlib-js/stdlib/commit/646dd311efc708a3ec45134b6e8fc1ccb1a92470) - **bench:** refactor to use string interpolation in `array/base/take-indexed` [(#9048)](https://github.com/stdlib-js/stdlib/pull/9048) _(by DivitJain26, Athan Reines)_
262263
- [`b2b3432`](https://github.com/stdlib-js/stdlib/commit/b2b343206f3a2d3b398354b493003c1fec519761) - **bench:** refactor to use string interpolation `array/base/filled3d` [(#8995)](https://github.com/stdlib-js/stdlib/pull/8995) _(by Rohit R Bhat)_

base/take-map/benchmark/benchmark.assign.length.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ var pow = require( '@stdlib/math/base/special/pow' );
2525
var discreteUniform = require( '@stdlib/random/array/discrete-uniform' );
2626
var zeros = require( './../../../zeros' );
2727
var isArray = require( '@stdlib/assert/is-array' );
28+
var format = require( '@stdlib/string/format' );
2829
var pkg = require( './../package.json' ).name;
2930
var takeMap = require( './../lib' );
3031

@@ -102,7 +103,7 @@ function main() {
102103
for ( i = min; i <= max; i++ ) {
103104
len = pow( 10, i );
104105
f = createBenchmark( len );
105-
bench( pkg+':assign:len='+len, f );
106+
bench( format( '%s:assign:len=%d', pkg, len ), f );
106107
}
107108
}
108109

base/take-map/benchmark/benchmark.js

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

2930

3031
// MAIN //
3132

32-
bench( pkg+'::copy:len=100', function benchmark( b ) {
33+
bench( format( '%s::copy:len=%d', pkg, 100 ), function benchmark( b ) {
3334
var x;
3435
var i;
3536
var v;

base/take-map/benchmark/benchmark.length.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ var bench = require( '@stdlib/bench' );
2424
var pow = require( '@stdlib/math/base/special/pow' );
2525
var discreteUniform = require( '@stdlib/random/array/discrete-uniform' );
2626
var isArray = require( '@stdlib/assert/is-array' );
27+
var format = require( '@stdlib/string/format' );
2728
var pkg = require( './../package.json' ).name;
2829
var takeMap = require( './../lib' );
2930

@@ -95,7 +96,7 @@ function main() {
9596
for ( i = min; i <= max; i++ ) {
9697
len = pow( 10, i );
9798
f = createBenchmark( len );
98-
bench( pkg+':len='+len, f );
99+
bench( format( '%s:len=%d', pkg, len ), f );
99100
}
100101
}
101102

0 commit comments

Comments
 (0)