Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

benchmarked

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

benchmarked - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

14

index.js

@@ -89,3 +89,3 @@ 'use strict';

forOwn(fixtures, function (args, name) {
forOwn(fixtures, function(args, name) {
if (typeof cb == 'function') {

@@ -104,6 +104,6 @@ args = cb(args);

name: name,
onStart: function () {
onStart: function() {
console.log(chalk.gray('#%s: %s'), ++i, name, lead);
},
onComplete: function () {
onComplete: function() {
cursor.write('\n');

@@ -113,3 +113,3 @@ }

forOwn(add, function (fn, fnName) {
forOwn(add, function(fn, fnName) {
benchmark.add(fnName, {

@@ -121,3 +121,3 @@ onCycle: function onCycle(event) {

},
onComplete: function () {
onComplete: function() {
if (options.result) {

@@ -134,3 +134,3 @@ var res = fn.apply(null, args);

},
fn: function () {
fn: function() {
fn.apply(thisArg, args);

@@ -146,3 +146,3 @@ return;

benchmark.on('complete', function () {
benchmark.on('complete', function() {
if (Object.keys(add).length > 1) {

@@ -149,0 +149,0 @@ var fastest = chalk.bold(this.filter('fastest').pluck('name'));

{
"name": "benchmarked",
"description": "Easily generate benchmarks from a glob of files.",
"version": "0.1.4",
"version": "0.1.5",
"homepage": "https://github.com/jonschlinkert/benchmarked",
"author": {
"name": "Jon Schlinkert",
"url": "https://github.com/jonschlinkert"
},
"repository": {
"type": "git",
"url": "git://github.com/jonschlinkert/benchmarked.git"
},
"author": "Jon Schlinkert (https://github.com/jonschlinkert)",
"repository": "jonschlinkert/benchmarked",
"bugs": {
"url": "https://github.com/jonschlinkert/benchmarked/issues"
},
"license": {
"type": "MIT",
"url": "https://github.com/jonschlinkert/benchmarked/blob/master/LICENSE"
},
"license": "MIT",
"files": [

@@ -42,3 +33,8 @@ "index.js"

"benchmark"
]
],
"verb": {
"related": {
"list": []
}
}
}

@@ -1,11 +0,13 @@

# benchmarked [![NPM version](https://badge.fury.io/js/benchmarked.svg)](http://badge.fury.io/js/benchmarked) [![Build Status](https://travis-ci.org/jonschlinkert/benchmarked.svg)](https://travis-ci.org/jonschlinkert/benchmarked)
# benchmarked [![NPM version](https://img.shields.io/npm/v/benchmarked.svg)](https://www.npmjs.com/package/benchmarked)
> Easily generate benchmarks from a glob of files.
This is an opinionated wrapper for [benchmarked.js](http://benchmarkjs.com/) to make it easier to do benchmarks. Concept is from [remarkable](https://github.com/jonschlinkert/remarkable/tree/master/benchmark)
This is an opinionated wrapper for [benchmark.js](http://benchmarkjs.com/) to make it easier to do benchmarks. Concept is from [remarkable](https://github.com/jonschlinkert/remarkable/tree/master/benchmark).
## Install with [npm](npmjs.org)
## Install
```bash
npm i benchmarked --save-dev
Install with [npm](https://www.npmjs.com/):
```sh
$ npm i benchmarked
```

@@ -86,9 +88,11 @@

## Contributing
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/benchmarked/issues)
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/benchmarked/issues/new).
## Running tests
Install dev dependencies.
```bash
npm i -d && npm test
Install dev dependencies:
```sh
$ npm i -d && npm test
```

@@ -99,12 +103,13 @@

**Jon Schlinkert**
+ [github/jonschlinkert](https://github.com/jonschlinkert)
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
## License
Copyright (c) 2014-2015 Jon Schlinkert
Released under the MIT license
Copyright © 2014-2016 [Jon Schlinkert](https://github.com/jonschlinkert)
Released under the MIT license.
***
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on March 25, 2015._
_This file was generated by [verb](https://github.com/verbose/verb) on January 25, 2016._

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc