Skip to content

Reliably fast navigation #10

@mathjeff

Description

@mathjeff

Occasionally when navigating to another screen in ActivityRecommender, it takes more time than normal: closer to 0.5s instead of 0.1s.

My guess is that the reason for this is a combination of:

  • The layout engine (VisiPlacer) repeatedly allocating slightly more memory that needed
  • The garbage collector periodically taking a while to free that recently allocated, no longer used memory

but I haven't verified this and it might be incorrect.

It would be nice to make ActivityRecommender take a consistent amount of time to navigate between screens each time (after the first couple of navigations where caches are warming up).

To reproduce, choose a couple of screens in ActivityRecommender and try navigating between them a few (maybe 10) times

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions