Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Save profile output to file #1007

Closed
ebuech opened this issue Sep 23, 2021 · 1 comment
Closed

Save profile output to file #1007

ebuech opened this issue Sep 23, 2021 · 1 comment
Assignees
Labels
enhancement Request an enhancement or new feature

Comments

@ebuech
Copy link

ebuech commented Sep 23, 2021

Background

It would be really great to be able to save the profiler output to file instead of just printing on the screen. This would be a big help when comparing simulation performance across large number of runs.

Proposed solution

Save profiler info to csv file. The "Core profiler results" could be a table with three columns and the "Model profiler results" could be a table with four columns. These two tables could be stacked on top of each other in a single csv or there could be two separate csvs. Saving to a .txt file would also be fine.

@ebuech ebuech added the enhancement Request an enhancement or new feature label Sep 23, 2021
@ebuech
Copy link
Author

ebuech commented Jan 28, 2022

Outputting the profiler results to CSV and JSON does not appear to work.

The following commands do not work: gridlabd xxxxx.glm --profile=CSV and gridlabd xxxxx.glm --profile=JSON

The following command does output the profiler results to a text file named gridlabd.pro: gridlabd xxxxx.glm --redirect profile

@ebuech ebuech reopened this Jan 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Request an enhancement or new feature
Projects
None yet
Development

No branches or pull requests

2 participants