Commit Graph

14 Commits

Author SHA1 Message Date
leo adfba66f38
mv most of profiling logic to profile.go
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-24 16:00:00 +01:00
leo cf61dd4795
run.go: add a way to profile program's mem usage
All checks were successful
continuous-integration/drone/push Build is passing
to prevent defer-after-exit, rework the way run() is done:
* make run return an error
* return nil if all went well
* return err if something went south

special-case ErrNoAlgoSelected in main().

adjust run_test.go to these new realities, also.
2023-02-24 15:37:59 +01:00
leo a74ea8c8e4
run.go: add a way to profile program's cpu usage
All checks were successful
continuous-integration/drone/push Build is passing
set the flag `cpuprofile` to a file where the cpu profiling output
should be saved. the output can then be read using:
  `go tool pprof math-optim <profiling output file`.

ref: https://go.dev/blog/pprof
2023-02-24 14:27:58 +01:00
leo 35fae028ae
run: handle comparing means for all algos
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-23 18:09:26 +01:00
leo 6f39c616c0
run: plug in SOMA T3A
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-23 18:07:41 +01:00
leo 7f4e3baf1a
run,algo: tweak what runs when
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-09 03:46:07 +01:00
leo 3237fd16c6
actually don't run jDE with run_test.go
All checks were successful
continuous-integration/drone/push Build is passing
* an incomplete fix was attempted in 071cb75 but that did not prevent
  jDE from running with tests (as it does by default)
* bring func-local vars to pkg level to be able to manipulate them
  programatically (such as from tests)
* prevent jDE from running by setting -jde=false
* reword log message in test
2023-02-04 20:54:49 +01:00
leo 071cb75853
run.go: exit(0) when no algo is specified
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-03 20:39:14 +01:00
leo 7585bd4889
go(run): add flags to allow algorithm selection
All checks were successful
continuous-integration/drone/push Build is passing
* jDE runs by default
* errors out if none of the algorithms is chosen
* also increase test timeout
2023-01-21 17:26:01 +01:00
leo b742f0e091
go(algo,de): implement jDE (wip)
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-21 02:35:29 +01:00
leo 3f77c573a6
chore: 2023
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-12 23:35:51 +01:00
leo 68b14f9960
chore: add all updates, sort out later
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-24 11:30:22 +01:00
surtur 78dbe2cc0b
go: include 'comparison of means' in the reports
All checks were successful
continuous-integration/drone/push Build is passing
* add logic + tmpl that handles collecting 'comparison of means' plots
2022-08-09 17:25:19 +02:00
surtur 333a5c4e48
go: clean up main
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-18 23:12:33 +02:00