diff --git a/stats/doc.go b/stats/doc.go new file mode 100644 index 0000000..65d5c4c --- /dev/null +++ b/stats/doc.go @@ -0,0 +1,5 @@ +// Copyright 2022 wanderer +// SPDX-License-Identifier: GPL-3.0-or-later + +// Package stats provides functions for summarizing results. +package stats diff --git a/stats/stats.go b/stats/stats.go new file mode 100644 index 0000000..5217e5f --- /dev/null +++ b/stats/stats.go @@ -0,0 +1,17 @@ +// Copyright 2022 wanderer +// SPDX-License-Identifier: GPL-3.0-or-later + +package stats + +type FuncStats struct { + BenchName string + Results []float64 +} + +type Stats struct { + Algo string + Dimens int + BenchFuncStats []FuncStats + Iterations int + Generations int +}