Skip to content

Output information about time taken for program run #527

Description

@alexdewar

This was discussed in the context of writing it to the TOML output file (see #526), but I actually think this info more naturally belongs in the program logs, which we're saving to the output folder in any case.

In addition to logging the total time taken for the simulation run, we could also record more granular information, i.e. how much time was spent in different steps of the algorithm (e.g. dispatch optimisation, agent investment). I'm in two minds about this part, as I don't want us to fall into the trap of trying to write our own profiler (which will never be as good as a proper tool), but we could provide this information at a really coarse level if users are keen.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestquestionFurther information is requested

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
👀 In review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions