6 Commits

Author SHA1 Message Date
Joël Stemmer
5616b5e921 Add missing godoc on exported types 2022-08-11 00:47:46 +01:00
Joël Stemmer
da6551b8c0 gtr,parser/gotest: Remove gtr.Benchmark and use gtr.Test for all tests 2022-06-15 23:46:40 +01:00
Joël Stemmer
1d905e0b1c gtr: Improve accuracy of benchmark duration calculation
The NsPerOp was previously casted to a time.Duration (int64) before
multiplying it with the number of iterations. This has been fixed by
doing the casting after the multiplication. The resulting duration
should be a bit more accurate.
2022-06-12 22:56:04 +01:00
Joël Stemmer
9a1666d75c gtr,junit: Move Benchmark duration calculation to gtr package 2022-06-12 22:54:12 +01:00
Joël Stemmer
b95e18cd5c gtr: Add ID fields to Test, Benchmark and Error structs
This can optionally be used to uniquely individual tests, benchmarks or
errors.
2022-06-08 23:01:01 +01:00
Joël Stemmer
d84b066208 Move packages out of pkg/ 2022-04-20 19:39:05 +01:00