Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/honza/benchmike


https://github.com/honza/benchmike

Last synced: about 5 hours ago
JSON representation

Awesome Lists containing this project

README

        

benchmike
=========

benchmike is a command line benchmarking tool. It runs your code a specified
number of iterations and gives you back the min, max, 95th and 99th percentile
in milliseconds. benchmike is implement in [Go][1].

**Note**: Prior to `0.2.0`, benchmike was a Python utility. Please see the git
history for details.

Building and install
--------------------

$ git clone git://github.com/honza/benchmike.git
$ cd benchmike
$ make
$ ./bin/benchmike -i 500 "date"

Usage
-----

Usage: benchmike [options] COMMAND

Options:
--version show program's version number and exit
-h, --help show this help message and exit
-i ITERATIONS, --iterations=ITERATIONS
How many times should the command run?

Example
-------

$ ./benchmike -i 100 "date"
Iterations: 100
95th percentile: 6.99806213379
99th percentile: 7.36784934998
min: 5.24401664734
max: 7.38000869751

License
-------

GPLv3

[1]: http://golang.org/