Skip to content

Commit e269e1f

Browse files
committed
Auto-generated commit
1 parent dc7ac2e commit e269e1f

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
@@ -24,6 +24,7 @@ A total of 2 issues were closed in this release:
2424

2525
<details>
2626

27+
- [`3b0e321`](https://github.com/stdlib-js/stdlib/commit/3b0e321d7fe014b56def3bf6a769ac2760ac67eb) - **bench:** refactor to use string interpolation in `buffer/from-buffer` [(#9578)](https://github.com/stdlib-js/stdlib/pull/9578) _(by Vishal Gaikwad)_
2728
- [`01e7efb`](https://github.com/stdlib-js/stdlib/commit/01e7efb049f30e3903d29a05b145966a9b75d909) - **bench:** refactor to use string interpolation in `buffer/from-string` [(#9579)](https://github.com/stdlib-js/stdlib/pull/9579) _(by Vishal Gaikwad)_
2829
- [`803dfe6`](https://github.com/stdlib-js/stdlib/commit/803dfe64bff71c2fe1206eda1d807d6759d0a751) - **bench:** refactor to use string interpolation in `buffer/from-arraybuffer` [(#9554)](https://github.com/stdlib-js/stdlib/pull/9554) _(by Vishal Gaikwad)_
2930
- [`f4eb003`](https://github.com/stdlib-js/stdlib/commit/f4eb003101dc763c66363a1d52c013a3b3b7c3c7) - **bench:** refactor to use string interpolation in `buffer/from-array` [(#9553)](https://github.com/stdlib-js/stdlib/pull/9553) _(by Vishal Gaikwad)_

from-buffer/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 isBuffer = require( '@stdlib/assert/is-buffer' );
2626
var allocUnsafe = require( './../../alloc-unsafe' );
27+
var format = require( '@stdlib/string/format' );
2728
var pkg = require( './../package.json' ).name;
2829
var copyBuffer = require( './../lib' );
2930

@@ -89,7 +90,7 @@ function main() {
8990
for ( i = min; i <= max; i++ ) {
9091
len = pow( 10, i );
9192
f = createBenchmark( len );
92-
bench( pkg+':len='+len, f );
93+
bench( format( '%s:len=%d', pkg, len ), f );
9394
}
9495
}
9596

0 commit comments

Comments
 (0)