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 @@ -21,25 +21,26 @@
// MODULES //

var bench = require( '@stdlib/bench' );
var format = require( '@stdlib/string/format' );
var pkg = require( './../package.json' ).name;
var Module = require( './../lib' );


// MAIN //

bench( pkg+'::constructor', function benchmark( b ) {
bench( format( '%s::constructor', pkg ), function benchmark( b ) {
var out;
var i;

b.tic();
for ( i = 0; i < b.iterations; i++ ) {
// TODO: write benchmark

Check warning on line 37 in lib/node_modules/@stdlib/wasm/module-wrapper/benchmark/benchmark.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unexpected 'todo' comment: 'TODO: write benchmark'
if ( out !== void 0 || typeof Module !== 'function' ) { // TODO: update

Check warning on line 38 in lib/node_modules/@stdlib/wasm/module-wrapper/benchmark/benchmark.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unexpected 'todo' comment: 'TODO: update'
b.fail( 'TODO: fixme' );
}
}
b.toc();
if ( out !== void 0 || typeof Module !== 'function' ) { // TODO: update

Check warning on line 43 in lib/node_modules/@stdlib/wasm/module-wrapper/benchmark/benchmark.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unexpected 'todo' comment: 'TODO: update'
b.fail( 'TODO: fixme' );
}
b.pass( 'benchmark finished' );
Expand Down