summaryrefslogtreecommitdiffstats
path: root/usr.bin/ministat
Commit message (Collapse)AuthorAgeFilesLines
* Compute the median of the data set as the midpoint between the two middlearaujo2015-11-241-2/+4
| | | | | | | | | values when the data set has an even number of elements. PR: 201582 Submitted by: Marcus Reid <marcus@blazingdot.com> Reviewed by: imp Approved by: bapt (mentor)
* fix error message... errx since errno may not be set (if we didn'tjmg2015-07-151-1/+1
| | | | | | | parse the full field), and err and errx add their own newline at the end... Sponsored by: Netflix, Inc.
* Add META_MODE support.sjg2015-06-131-0/+19
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-273-9/+9
| |\ | |/ |/|
| * Updated dependenciessjg2014-05-161-1/+0
| |
| * Updated dependenciessjg2014-05-101-0/+2
| |
| * Merge headsjg2014-04-281-2/+3
| |\
| * | Updated dependenciessjg2013-03-111-0/+1
| | |
| * | Updated dependenciessjg2013-02-161-2/+0
| | |
| * | Sync with HEAD.obrien2013-02-082-5/+13
| |\ \
| * | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+20
| | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | Clarify the ministat default widthkp2015-03-261-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The man page states that: '-w width Width of ASCII-art plot in characters, default is 74.' This is not entirely correct. The mini-help is more accurate: '-w : width of graph/test output (default 74 or terminal width)' In other words: the man page fails to explain that ministat will default to the terminal width, not 74. It will only fall back to 74 if stdout is not a TTY. Submitted by: Ben Hutchings <ben@decadent.org.uk> Approved by: philip (mentor)
* | | | ministat(1): replace malloc + memset with calloc.pfg2015-02-171-4/+2
| | | | | | | | | | | | | | | | Reviewed by: phk
* | | | Convert to usr.bin/ to LIBADDbapt2014-11-251-4/+4
| |_|/ |/| | | | | | | | Reduce overlinking
* | | Make ministat CRNL tolerant by stripping all isspace() from the tailphk2014-03-121-2/+3
| |/ |/| | | | | end of input lines.
* | Add option to suppress just the plot in ministat while still retainingeadler2012-11-152-5/+13
|/ | | | | | | the relative comparison (i.e., useful part). Approved by: cperciva MFC after: 3 days
* Remove trailing whitespace per mdoc lint warningeadler2012-03-291-2/+2
| | | | | | | Disussed with: gavin No objection from: doc Approved by: joel MFC after: 3 days
* Add missing static keywords to ministat(1)ed2011-11-061-2/+2
|
* Make the second example command more closely match the demo output, and asgavin2010-06-271-2/+2
| | | | | a side effect more clearly show the change in command lines between the first and second example invocations.
* Fix some warns - mainly signedness and unused variables.dwmalone2009-03-171-5/+3
|
* Free old arrays if we increase them.phk2008-10-161-0/+1
| | | | Pointed out by: mlaier
* Make ministat(1) vastly faster on huge datasets.phk2008-10-162-51/+36
|
* Fix apparent typo. The permitted confidence values include 95%, not 85%.peter2008-03-121-1/+1
|
* WARNS fixes: remove two unused variables and add some constness.dwmalone2008-02-081-4/+3
|
* Pull ministat into the installed system and write it a man-page.phk2007-12-202-1/+130
| | | | (Repocopied from src/tools/tools/ministat)
* Improve input parsing:phk2006-08-281-14/+36
| | | | | | | | Add "-C <column>" and "-d <delims>" options to chop up input lines. Make '#' a comment character, rest of line is ignored. Submitted by: Dmitry Morozovsky <marck@rinet.ru>
* Avoid coredumps if stddev cannot be computed (if all datapoints are identical)phk2006-05-021-12/+16
| | | | Small cleanup of label printing.
* Fix the way in which median is calculated. If the data source has evenwkoszek2006-02-231-7/+18
| | | | | | | number of data points, value should be calculated by adding two middle elements and dividing them by 2. Approved by: cognet (mentor)
* Add option -w to specify graph width.mdodd2006-02-221-3/+24
| | | | | | Use COLUMNS, terminal width for default graph width. Reviewed by: rwatson
* In 2003, a -s flag was added to ministat to separate thephk2005-07-212-5/+8
| | | | | | | | | | avg/median/stddev bars onto separate lines for readability if the ranges overlapped. In 2005, ministat was extended to support more than 2 datasets, but the -s code was not updated. It will coredump if run with -s and >2 sets. PR: 82909 Submitted by: Dan Nelson <dnelson@allantgroup.com>
* dd a '-n' option to ministat, which causes it to display only summaryrwatson2005-05-271-9/+17
| | | | | statistics, not graph and statistical test output. Useful for automated processing.
* Add support for more than two datasets. Currently limited to 7 thoughmdodd2005-04-131-29/+29
| | | | | | | | | the limit is only the number of meaningful graph symbols available. Statistical comparison is performed between the first dataset and any further datasets. No objection by: phk
* Start the dreaded NOFOO -> NO_FOO conversion.ru2004-12-211-1/+1
| | | | OK'ed by: core
* For variables that are only checked with defined(), don't provideru2004-10-241-1/+1
| | | | any fake value.
* Added missing DPADD.ru2004-02-051-1/+1
|
* Attached is a small patch to ministat that separates thephk2003-10-312-19/+48
| | | | | | | avg/median/stddev bars onto two lines. Useful for datasets that overlap. Submitted by: Dan Nelson <dnelson@allantgroup.com>
* In case of zero span data supress the histogram plot.phk2003-08-181-0/+6
|
* A small statistics tool for gauging the statistical significancephk2003-08-135-0/+621
of data from benchmarks etc. Implements "Student's t" for various confidence levels, defaults to 95%. If your benchmarks are not significant at the 95% confidence level, we don't want to hear about it.
OpenPOWER on IntegriCloud