GitXplorerGitXplorer
j

tiny-bench

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
0cd8cb6d7996f227f895ae494c9de17fedcf8a2d

Adds package.json

jjxson committed 9 years ago
Unverified
42620ca5f4dbaf6c174c7b24d2c7c8cbd418bed2

Adds sparse, initial docs.

jjxson committed 9 years ago
Unverified
e2488e94cf2bd2017dc9c54cd6b6b10cf41802d6

Initial commit

jjxson committed 9 years ago

README

The README file for this repository.

tiny-bench

STATUS: Experimental

A` tap-like module for running benchmarks.

var bench = require('tiny-bench')

bench('name of your benchmark', function(done) {
  // Your code to benmark here.
  done() // call done once your code is done, this is useful for async code.
})

Your benchmarks can then be simply run with node:

node my-bencmarks.js

Benchmarks are run synchronously, that is subsequent calls to the bench function will not execute until the previous one has finished.

Pipeline

API

Development

License

ISC License (ISC)