Joël Stemmer
56afb484ae
Move -count parameter to bench example and a little cleanup
2018-06-03 22:49:01 +01:00
Brittany Walentin
1c2c0a00fe
Adds multi-package benchmark support, simplifies merge benchmark averaging. Addressing code review comments.
2018-06-03 12:28:48 -07:00
Brittany Walentin
260b47cabe
Addressing code review comments.
...
Mainly:
* Moving the averaging/merging of benchmarks from the parser to the formatter package
* Tightening up the regex so it only captures the numeric values (no more of trimming spaces and the ns/op)
* Deleting the writing up in xml file the benchmark memory sections of B/op and Allocs/op
Also added a test case for parseNanoseconds().
2018-05-29 21:05:13 -07:00
Brittany Walentin
b2f467b67c
Adds ability to parse benchmarking information, and (optional) with memory information and with -count specified. Includes a number of unit tests. Issue #70 .
2018-05-22 20:18:03 -07:00
Joël Stemmer
1ce4b93a20
Deprecated Time field, use a time.Duration instead.
...
The parser.Package.Time and parser.Test.Time fields are currently still
supported, but will be removed in the future.
2018-04-21 18:15:02 +01:00
John Millikin
03cda22671
Move junit-formatter.go
to its own package for use as a library.
...
This lets JUnit xml generation be integrated into larger tools
instead of having to run the `go-junit-report` binary as a subprocess.
2018-03-16 16:09:48 -07:00