ea3d57acd8
go: rename AlgoMean,Mean et al.
...
continuous-integration/drone/push Build is passing
also add comments to methods explaining what they're supposed to do.
2022-07-25 22:24:54 +02:00
8efba25c19
go(stats): implement sort.Interface for types
continuous-integration/drone/push Build is passing
2022-07-20 02:36:14 +02:00
2bf3a4a767
go: collect and process mean vals
...
continuous-integration/drone/push Build is passing
* compute and save mean values of x (e.g. 30) bench runs
* safely save mean vals for all bench-dimens combinations to AlgoMeans
from goroutines (use mutex to protect shared access)
* rework algo/plot.go to use already computed mean values.
todo: plot mean vals of all algorithms (per benchmark) in a single pic.
2022-07-19 21:56:49 +02:00
c37ef263ae
go(stats): Solution -> BenchResults in FuncStats
continuous-integration/drone/push Build is passing
2022-07-19 19:58:45 +02:00
16cbf39a79
go(stats,algo): get,plot mean vals
continuous-integration/drone/push Build is passing
2022-07-18 10:08:12 +02:00
71e67bdb58
go(stats): actually calculate median
continuous-integration/drone/push Build is passing
2022-07-18 04:17:58 +02:00
621f56f5e3
go(stats): rework table saving,structure
...
continuous-integration/drone/push Build is passing
* create tables as defined in the report pkg.
* add new funcs to calculate stats and prepare the necessary table
structs.
* rework existing `stats` tests
* handle a weird test behaviour when tmpl at `report/table.tmpl` is not
found when testing a `stats` func.
2022-07-13 17:35:18 +02:00
2697b296b5
go(stats): relocate stats to common outdir
continuous-integration/drone/push Build is passing
2022-07-13 15:41:54 +02:00
54c01dc616
go(stats/table.go): pretty print stats
continuous-integration/drone/push Build is passing
2022-07-05 22:03:37 +02:00
ea0ccedbba
go(stats/table_test.go): prettify struct printing
continuous-integration/drone/push Build is passing
2022-06-28 00:44:58 +02:00
13fd0b3bff
go(stats/table): let the printing func just print
...
continuous-integration/drone/push Build is passing
...and handle constructing the actual table in a separate func.
also, add more tests.
2022-06-27 21:56:44 +02:00
58edf3c506
go(stats): add table_test.go
continuous-integration/drone/push Build is passing
2022-06-27 21:10:33 +02:00
3940036304
go(stats): add explanatory comments [skip ci]
2022-06-25 21:47:53 +02:00
63da28a8f0
go: add a way to print statistic table
continuous-integration/drone/push Build is passing
2022-06-24 00:45:43 +02:00
a121a1eb4b
go: update SaveStats func to take ([]Stats, fName)
continuous-integration/drone/push Build is passing
2022-06-20 02:49:24 +02:00
a80b6660e5
go(stats): add comment explaining BenchRound
...
[skip ci]
2022-06-19 21:56:36 +02:00
49f5d93200
go(stats): update FuncStats definition
continuous-integration/drone/push Build is passing
2022-06-18 00:51:51 +02:00
ef919cb269
go(stats): add iteration field
continuous-integration/drone/push Build is passing
2022-06-18 00:05:12 +02:00
ed76cf865b
go(stats): add functions for manipulating Stats
continuous-integration/drone/push Build is passing
2022-06-17 23:56:36 +02:00
e178ee3237
go: add stats package
continuous-integration/drone/push Build is passing
2022-06-17 23:24:41 +02:00