Giter Site home page Giter Site logo

ministat's Introduction

ministat

A small tool to do the statistics legwork on benchmarks etc.

Written by Poul-Henning Kamp, lured into a dark Linux alley and clubbed over the head and hauled away to Github by yours truly.

Build & Install

There should be no dependencies besides the standard libraries and a functional tool-chain.

$ cd ministat/
$ make
$ make PREFIX=/usr install
install -m 0755 ministat  /usr/bin/ministat

Usage

The FreeBSD man page is very relevant, pursue it here.

Usage: ministat [-C column] [-c confidence] [-d delimiter(s)] [-ns] [-w width] [file [file ...]]
	confidence = {80%, 90%, 95%, 98%, 99%, 99.5%}
	-C : column number to extract (starts and defaults to 1)
	-d : delimiter(s) string, default to " \t"
	-n : print summary statistics only, no graph/test
	-q : print summary statistics and test only, no graph
	-s : print avg/median/stddev bars on separate lines
	-w : width of graph/test output (default 74 or terminal width)

Example

From the FreeBSD man page

$ cat << EOF > iguana
50
200
150
400
750
400
150
EOF

$ cat << EOF > chameleon
150
400
720	
500
930
EOF

$ ministat -s -w 60 iguana chameleon
x iguana
+ chameleon
+------------------------------------------------------------+
|x      *  x	     *	       +	   + x	            +|
| |________M______A_______________|			     |
| 	      |________________M__A___________________|      |
+------------------------------------------------------------+
    N	  Min	     Max     Median	   Avg	     Stddev
x   7	   50	     750	200	   300	  238.04761
+   5	  150	     930	500	   540	  299.08193
No difference proven at 95.0% confidence

ministat's People

Contributors

lucas-c avatar thorduri avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.