Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print time spent on building model #937

Closed
jgosmann opened this issue Jan 26, 2016 · 8 comments
Closed

Print time spent on building model #937

jgosmann opened this issue Jan 26, 2016 · 8 comments

Comments

@jgosmann
Copy link
Collaborator

The progress bar shows how long it took a simulation to finish. It would be nice to have an output how long it took to build the model, too. (A progress bar for that would be even more awesome, but more complicated to implement.)

@hunse
Copy link
Collaborator

hunse commented Jan 26, 2016

I do this in Nengo OCL with the logging system. I log info level messages timing various parts of the build process. I guess in Nengo we don't split up the build process in the same way, so it's harder to get info about how much time is spent building connections, ensembles, etc.

An overall timing that we display to the user no matter what, as @jgosmann is suggesting here, should be quite easy and makes sense.

@tcstewar
Copy link
Contributor

It'd also be nice if such a system could also have hooks in it that would allow nengo_gui to pass the information along as well.... :)

@xchoo
Copy link
Member

xchoo commented Jan 27, 2016

I currently do it manually (i.e. using timestamps from time.time) for spaun builds.

@jgosmann
Copy link
Collaborator Author

I currently do it manually (i.e. using timestamps from time.time) for spaun builds.

I know that I could do that, but sometimes I build a model and wonder afterwards how long it took.

@drasmuss
Copy link
Member

I'm kind of the opposite, I'm constantly disabling the progress bar for every model I run because I'd rather not have information cluttering the console output unless I ask for it. So not saying that we shouldn't put this in, just that it'd be nice if there was a way to turn it off.

@hunse
Copy link
Collaborator

hunse commented Jan 27, 2016

Do we have a config option for the progress bar? If not, we should. And one for this, too.

@jgosmann
Copy link
Collaborator Author

Yes, we have a config option for that. Just put

[progress]
progress_bar: False

in your ~/.config/nengo/nengorc

@drasmuss
Copy link
Member

Ah sweet, I didn't realize that was used for more than just decoder caching settings 🎉

@jgosmann jgosmann mentioned this issue Apr 25, 2016
15 tasks
@jgosmann jgosmann self-assigned this Aug 25, 2016
jgosmann added a commit that referenced this issue Aug 26, 2016
@jgosmann jgosmann removed their assignment Sep 7, 2016
tbekolay pushed a commit that referenced this issue Nov 9, 2016
tbekolay pushed a commit that referenced this issue Nov 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

5 participants