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

Brainstorming, report cache statistics. #36

Open
Eh2406 opened this issue Jan 24, 2018 · 0 comments
Open

Brainstorming, report cache statistics. #36

Eh2406 opened this issue Jan 24, 2018 · 0 comments

Comments

@Eh2406
Copy link
Contributor

Eh2406 commented Jan 24, 2018

I was just thinking whether it made sense for us to be cashing all the things, as we do now. In order to answer that I'd want to know for each thing orca is keeping track of:

  1. How many times did orca generate this thing?
  2. How many times did orca use a cached copy of this thing?
  3. How much time was spent in generating this thing?
  4. How much ram was used to hang on to the cached copy of this thing?

Things I could diagnose with this data from after a full model run include:

  • Things that are never used. Consider removing from the code.
  • Things that are never retrieved from the cache. Consider not caching that thing.
  • Things that are fast to compute. Consider not caching that thing.
  • Some of Why does a model run use so much ram?
  • Some of Why does a model run take so long?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant