Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,14 @@
var isndarrayLike = require( '@stdlib/assert/is-ndarray-like' );
var baseEmpty = require( '@stdlib/ndarray/base/empty' );
var empty = require( '@stdlib/ndarray/empty' );
var format = require( '@stdlib/string/format' );
var pkg = require( './../package.json' ).name;
var reverse = require( './../lib' );


// MAIN //

bench( pkg+'::0d,base', function benchmark( b ) {
bench( format( '%s::0d,base', pkg ), function benchmark( b ) {
var values;
var v;
var i;
Expand Down Expand Up @@ -58,7 +59,7 @@
b.end();
});

bench( pkg+'::0d,non-base', function benchmark( b ) {
bench( format( '%s::0d,non-base', pkg ), function benchmark( b ) {
var values;
var v;
var i;
Expand All @@ -66,11 +67,11 @@
/* eslint-disable object-curly-newline */

values = [
empty( [], { 'dtype': 'float64' } ),

Check failure on line 70 in lib/node_modules/@stdlib/ndarray/base/reverse/benchmark/benchmark.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line
empty( [], { 'dtype': 'float32' } ),

Check failure on line 71 in lib/node_modules/@stdlib/ndarray/base/reverse/benchmark/benchmark.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line
empty( [], { 'dtype': 'int32' } ),

Check failure on line 72 in lib/node_modules/@stdlib/ndarray/base/reverse/benchmark/benchmark.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line
empty( [], { 'dtype': 'complex128' } ),

Check failure on line 73 in lib/node_modules/@stdlib/ndarray/base/reverse/benchmark/benchmark.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line
empty( [], { 'dtype': 'generic' } )

Check failure on line 74 in lib/node_modules/@stdlib/ndarray/base/reverse/benchmark/benchmark.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line
];

/* eslint-enable object-curly-newline */
Expand All @@ -90,7 +91,7 @@
b.end();
});

bench( pkg+'::1d,base', function benchmark( b ) {
bench( format( '%s::1d,base', pkg ), function benchmark( b ) {
var values;
var v;
var i;
Expand Down Expand Up @@ -118,7 +119,7 @@
b.end();
});

bench( pkg+'::1d,non-base', function benchmark( b ) {
bench( format( '%s::1d,non-base', pkg ), function benchmark( b ) {
var values;
var v;
var i;
Expand All @@ -126,11 +127,11 @@
/* eslint-disable object-curly-newline */

values = [
empty( [ 2 ], { 'dtype': 'float64' } ),

Check failure on line 130 in lib/node_modules/@stdlib/ndarray/base/reverse/benchmark/benchmark.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line
empty( [ 2 ], { 'dtype': 'float32' } ),

Check failure on line 131 in lib/node_modules/@stdlib/ndarray/base/reverse/benchmark/benchmark.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line
empty( [ 2 ], { 'dtype': 'int32' } ),

Check failure on line 132 in lib/node_modules/@stdlib/ndarray/base/reverse/benchmark/benchmark.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line
empty( [ 2 ], { 'dtype': 'complex128' } ),

Check failure on line 133 in lib/node_modules/@stdlib/ndarray/base/reverse/benchmark/benchmark.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line
empty( [ 2 ], { 'dtype': 'generic' } )

Check failure on line 134 in lib/node_modules/@stdlib/ndarray/base/reverse/benchmark/benchmark.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line
];

/* eslint-enable object-curly-newline */
Expand All @@ -150,7 +151,7 @@
b.end();
});

bench( pkg+'::2d,base', function benchmark( b ) {
bench( format( '%s::2d,base', pkg ), function benchmark( b ) {
var values;
var v;
var i;
Expand Down Expand Up @@ -178,7 +179,7 @@
b.end();
});

bench( pkg+'::2d,non-base', function benchmark( b ) {
bench( format( '%s::2d,non-base', pkg ), function benchmark( b ) {
var values;
var v;
var i;
Expand Down Expand Up @@ -210,7 +211,7 @@
b.end();
});

bench( pkg+'::3d,base', function benchmark( b ) {
bench( format( '%s::3d,base', pkg ), function benchmark( b ) {
var values;
var v;
var i;
Expand Down Expand Up @@ -238,7 +239,7 @@
b.end();
});

bench( pkg+'::3d,non-base', function benchmark( b ) {
bench( format( '%s::3d,non-base', pkg ), function benchmark( b ) {
var values;
var v;
var i;
Expand Down Expand Up @@ -270,7 +271,7 @@
b.end();
});

bench( pkg+'::4d,base', function benchmark( b ) {
bench( format( '%s::4d,base', pkg ), function benchmark( b ) {
var values;
var v;
var i;
Expand Down Expand Up @@ -298,7 +299,7 @@
b.end();
});

bench( pkg+'::4d,non-base', function benchmark( b ) {
bench( format( '%s::4d,non-base', pkg ), function benchmark( b ) {
var values;
var v;
var i;
Expand Down Expand Up @@ -330,7 +331,7 @@
b.end();
});

bench( pkg+'::5d,base', function benchmark( b ) {
bench( format( '%s::5d,base', pkg ), function benchmark( b ) {
var values;
var v;
var i;
Expand Down Expand Up @@ -358,7 +359,7 @@
b.end();
});

bench( pkg+'::5d,non-base', function benchmark( b ) {
bench( format( '%s::5d,non-base', pkg ), function benchmark( b ) {
var values;
var v;
var i;
Expand Down
Loading