-
Notifications
You must be signed in to change notification settings - Fork 174
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
Comments
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. |
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.... :) |
I currently do it manually (i.e. using timestamps from |
I know that I could do that, but sometimes I build a model and wonder afterwards how long it took. |
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. |
Do we have a config option for the progress bar? If not, we should. And one for this, too. |
Yes, we have a config option for that. Just put [progress]
progress_bar: False in your |
Ah sweet, I didn't realize that was used for more than just decoder caching settings 🎉 |
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.)
The text was updated successfully, but these errors were encountered: