Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/migration-guides/jstat/benchmark/benchmark.max.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
var resolve = require( 'path' ).resolve;
var bench = require( '@stdlib/bench' );
var isnan = require( '@stdlib/math/base/assert/is-nan' );
var format = require( '@stdlib/string/format' );
var randu = require( '@stdlib/random/base/randu' );
var pow = require( '@stdlib/math/base/special/pow' );
var Float64Array = require( '@stdlib/array/float64' );
Expand Down Expand Up @@ -98,7 +99,7 @@
for ( i = min; i <= max; i++ ) {
len = pow( 10, i );
f = createBenchmark( len );
bench( pkg+'::jstat:max:len='+len, opts, f );
bench( format( '%s::jstat:max:len=%d', pkg, len ), opts, f );

Check warning on line 102 in docs/migration-guides/jstat/benchmark/benchmark.max.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unknown word: "jstat"
}
}

Expand Down
3 changes: 2 additions & 1 deletion docs/migration-guides/jstat/benchmark/benchmark.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
var isnan = require( '@stdlib/math/base/assert/is-nan' );
var randu = require( '@stdlib/random/base/randu' );
var pow = require( '@stdlib/math/base/special/pow' );
var format = require( '@stdlib/string/format' );
var Float64Array = require( '@stdlib/array/float64' );
var tryRequire = require( '@stdlib/utils/try-require' );
var pkg = require( './../package.json' ).name;
Expand Down Expand Up @@ -98,7 +99,7 @@
for ( i = min; i <= max; i++ ) {
len = pow( 10, i );
f = createBenchmark( len );
bench( pkg+'::jstat:min:len='+len, opts, f );
bench( format( '%s::jstat:min:len=%d', pkg, len ), opts, f );

Check warning on line 102 in docs/migration-guides/jstat/benchmark/benchmark.min.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unknown word: "jstat"
}
}

Expand Down
3 changes: 2 additions & 1 deletion docs/migration-guides/jstat/benchmark/benchmark.range.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
var bench = require( '@stdlib/bench' );
var isnan = require( '@stdlib/math/base/assert/is-nan' );
var randu = require( '@stdlib/random/base/randu' );
var format = require( '@stdlib/string/format' );
var pow = require( '@stdlib/math/base/special/pow' );
var Float64Array = require( '@stdlib/array/float64' );
var tryRequire = require( '@stdlib/utils/try-require' );
Expand Down Expand Up @@ -98,7 +99,7 @@
for ( i = min; i <= max; i++ ) {
len = pow( 10, i );
f = createBenchmark( len );
bench( pkg+'::jstat:range:len='+len, opts, f );
bench( format( '%s::jstat:range:len=%d', pkg, len ), opts, f );

Check warning on line 102 in docs/migration-guides/jstat/benchmark/benchmark.range.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unknown word: "jstat"
}
}

Expand Down
3 changes: 2 additions & 1 deletion docs/migration-guides/jstat/benchmark/benchmark.sum.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
var isnan = require( '@stdlib/math/base/assert/is-nan' );
var randu = require( '@stdlib/random/base/randu' );
var pow = require( '@stdlib/math/base/special/pow' );
var format = require( '@stdlib/string/format' );
var Float64Array = require( '@stdlib/array/float64' );
var tryRequire = require( '@stdlib/utils/try-require' );
var pkg = require( './../package.json' ).name;
Expand Down Expand Up @@ -98,7 +99,7 @@
for ( i = min; i <= max; i++ ) {
len = pow( 10, i );
f = createBenchmark( len );
bench( pkg+'::jstat:sum:len='+len, opts, f );
bench( format( '%s::jstat:sum:len=%d', pkg, len ), opts, f );

Check warning on line 102 in docs/migration-guides/jstat/benchmark/benchmark.sum.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unknown word: "jstat"
}
}

Expand Down
5 changes: 3 additions & 2 deletions docs/migration-guides/lodash/benchmark/benchmark.count_by.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
var resolve = require( 'path' ).resolve;
var bench = require( '@stdlib/bench' );
var discreteUniform = require( '@stdlib/random/base/discrete-uniform' );
var format = require( '@stdlib/string/format' );
var tryRequire = require( '@stdlib/utils/try-require' );
var countBy = require( '@stdlib/utils/count-by' );
var pkg = require( './../package.json' ).name;
Expand All @@ -38,7 +39,7 @@ var opts = {

// MAIN //

bench( pkg+'::stdlib:utils/count-by', opts, function benchmark( b ) {
bench( format( '%s::stdlib:utils/count-by', pkg ), opts, function benchmark( b ) {
var vals;
var arr;
var o;
Expand Down Expand Up @@ -72,7 +73,7 @@ bench( pkg+'::stdlib:utils/count-by', opts, function benchmark( b ) {
}
});

bench( pkg+'::lodash:countBy', opts, function benchmark( b ) {
bench( format( '%s::lodash:countBy', pkg ), opts, function benchmark( b ) {
var vals;
var arr;
var o;
Expand Down
5 changes: 3 additions & 2 deletions docs/migration-guides/lodash/benchmark/benchmark.every.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
var resolve = require( 'path' ).resolve;
var bench = require( '@stdlib/bench' );
var isnan = require( '@stdlib/math/base/assert/is-nan' );
var format = require( '@stdlib/string/format' );
var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
var tryRequire = require( '@stdlib/utils/try-require' );
var every = require( '@stdlib/utils/every' );
Expand All @@ -39,7 +40,7 @@ var opts = {

// MAIN //

bench( pkg+'::stdlib:utils/every', opts, function benchmark( b ) {
bench( format( '%s::stdlib:utils/every', pkg ), opts, function benchmark( b ) {
var bool;
var arr;
var i;
Expand All @@ -66,7 +67,7 @@ bench( pkg+'::stdlib:utils/every', opts, function benchmark( b ) {
}
});

bench( pkg+'::lodash:every', opts, function benchmark( b ) {
bench( format( '%s::lodash:every', pkg ), opts, function benchmark( b ) {
var bool;
var arr;
var i;
Expand Down
5 changes: 3 additions & 2 deletions docs/migration-guides/lodash/benchmark/benchmark.for_each.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
var resolve = require( 'path' ).resolve;
var bench = require( '@stdlib/bench' );
var isnan = require( '@stdlib/math/base/assert/is-nan' );
var format = require( '@stdlib/string/format' );
var tryRequire = require( '@stdlib/utils/try-require' );
var forEach = require( '@stdlib/utils/for-each' );
var pkg = require( './../package.json' ).name;
Expand All @@ -38,7 +39,7 @@ var opts = {

// MAIN //

bench( pkg+'::stdlib:utils/for-each', opts, function benchmark( b ) {
bench( format( '%s::stdlib:utils/for-each', pkg ), opts, function benchmark( b ) {
var arr;
var i;

Expand Down Expand Up @@ -66,7 +67,7 @@ bench( pkg+'::stdlib:utils/for-each', opts, function benchmark( b ) {
}
});

bench( pkg+'::lodash:forEach', opts, function benchmark( b ) {
bench( format( '%s::lodash:forEach', pkg ), opts, function benchmark( b ) {
var arr;
var i;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
var resolve = require( 'path' ).resolve;
var bench = require( '@stdlib/bench' );
var isnan = require( '@stdlib/math/base/assert/is-nan' );
var format = require( '@stdlib/string/format' );
var tryRequire = require( '@stdlib/utils/try-require' );
var forEachRight = require( '@stdlib/utils/for-each-right' );
var pkg = require( './../package.json' ).name;
Expand All @@ -38,7 +39,7 @@ var opts = {

// MAIN //

bench( pkg+'::stdlib:utils/for-each-right', opts, function benchmark( b ) {
bench( format( '%s::stdlib:utils/for-each-right', pkg ), opts, function benchmark( b ) {
var arr;
var i;

Expand Down Expand Up @@ -66,7 +67,7 @@ bench( pkg+'::stdlib:utils/for-each-right', opts, function benchmark( b ) {
}
});

bench( pkg+'::lodash:forEachRight', opts, function benchmark( b ) {
bench( format( '%s::lodash:forEachRight', pkg ), opts, function benchmark( b ) {
var arr;
var i;

Expand Down
5 changes: 3 additions & 2 deletions docs/migration-guides/lodash/benchmark/benchmark.group_by.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
var resolve = require( 'path' ).resolve;
var bench = require( '@stdlib/bench' );
var discreteUniform = require( '@stdlib/random/base/discrete-uniform' );
var format = require( '@stdlib/string/format' );
var tryRequire = require( '@stdlib/utils/try-require' );
var groupBy = require( '@stdlib/utils/group-by' );
var pkg = require( './../package.json' ).name;
Expand All @@ -38,7 +39,7 @@ var opts = {

// MAIN //

bench( pkg+'::stdlib:utils/group-by', opts, function benchmark( b ) {
bench( format( '%s::stdlib:utils/group-by', pkg ), opts, function benchmark( b ) {
var vals;
var arr;
var o;
Expand Down Expand Up @@ -72,7 +73,7 @@ bench( pkg+'::stdlib:utils/group-by', opts, function benchmark( b ) {
}
});

bench( pkg+'::lodash:groupBy', opts, function benchmark( b ) {
bench( format( '%s::lodash:groupBy', pkg ), opts, function benchmark( b ) {
var vals;
var arr;
var o;
Expand Down
5 changes: 3 additions & 2 deletions docs/migration-guides/lodash/benchmark/benchmark.key_by.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
var resolve = require( 'path' ).resolve;
var bench = require( '@stdlib/bench' );
var tryRequire = require( '@stdlib/utils/try-require' );
var format = require( '@stdlib/string/format' );
var keyBy = require( '@stdlib/utils/key-by' );
var pkg = require( './../package.json' ).name;

Expand All @@ -37,7 +38,7 @@ var opts = {

// MAIN //

bench( pkg+'::stdlib:utils/key-by', opts, function benchmark( b ) {
bench( format( '%s::stdlib:utils/key-by', pkg ), opts, function benchmark( b ) {
var arr;
var out;
var i;
Expand Down Expand Up @@ -69,7 +70,7 @@ bench( pkg+'::stdlib:utils/key-by', opts, function benchmark( b ) {
}
});

bench( pkg+'::lodash:keyBy', opts, function benchmark( b ) {
bench( format( '%s::lodash:keyBy', pkg ), opts, function benchmark( b ) {
var arr;
var out;
var i;
Expand Down
Loading