Skip to content

Commit 6f01bb1

Browse files
committed
Auto-generated commit
1 parent a6f90f8 commit 6f01bb1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
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+
- [`66dec1e`](https://github.com/stdlib-js/stdlib/commit/66dec1ea2a3186a8b461abc11ad69f1e42b1c478) - **bench:** refactor to use string interpolation in `array/base/take2d` [(#9051)](https://github.com/stdlib-js/stdlib/pull/9051) _(by DivitJain26, Athan Reines)_
260261
- [`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)_
261262
- [`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)_
262263
- [`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)_

base/take2d/benchmark/benchmark.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ var filledBy = require( './../../../base/filled-by' );
2828
var discreteUniform = require( '@stdlib/random/base/discrete-uniform' ).factory;
2929
var isArrayArray = require( '@stdlib/assert/is-array-array' );
3030
var numel = require( '@stdlib/ndarray/base/numel' );
31+
var format = require( '@stdlib/string/format' );
3132
var pkg = require( './../package.json' ).name;
3233
var take2d = require( './../lib' );
3334

@@ -104,7 +105,7 @@ function main() {
104105
N = floor( pow( pow( 10, i ), 1.0/2.0 ) );
105106
shape = [ N, N ];
106107
f = createBenchmark( shape );
107-
bench( pkg+'::square_matrix,unsorted_indices:size='+numel(shape)+',num_indices='+N, f );
108+
bench( format( '%s::square_matrix,unsorted_indices:size=%d,num_indices=%d', pkg, numel( shape ), N ), f );
108109
}
109110
}
110111

0 commit comments

Comments
 (0)