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
5 changes: 3 additions & 2 deletions lib/node_modules/@stdlib/repl/benchmark/benchmark.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@
var bench = require( '@stdlib/bench' );
var inspectSinkStream = require( '@stdlib/streams/node/inspect-sink' );
var randu = require( '@stdlib/random/streams/randu' );
var format = require( '@stdlib/string/format' );
var noop = require( '@stdlib/utils/noop' );
var pkg = require( './../package.json' ).name;
var REPL = require( './../lib' );


// MAIN //

bench( pkg+'::new', function benchmark( b ) {
bench( format( '%s::new', pkg ), function benchmark( b ) {
var sopts;
var opts;
var r;
Expand Down Expand Up @@ -60,7 +61,7 @@ bench( pkg+'::new', function benchmark( b ) {
b.end();
});

bench( pkg+'::no_new', function benchmark( b ) {
bench( format( '%s::no_new', pkg ), function benchmark( b ) {
var sopts;
var repl;
var opts;
Expand Down