Skip to content

Optimize BAIN refresh #737

@Utumno

Description

@Utumno

Opening this to track work on BAIN optimizations:

  • single propagate_refresh(True) remaining in the code is in Installer_Op.Execute()
  • likewise the vast majority of RefreshUI(None) calls that remain are in Installers basher code
  • to address those we need to revisit irefresh (thankfully not remotely as complex as before Align irefresh with _AfileInfos.refresh #716) and make sure we properly update the return value to include all and only the changed installers and then use that return value in the UI
  • however there is room for optimization also inside the model - namely LowerDict operations take time (CIstr was created for memory efficiency and is not cached) - this deserves an internal issue but there we can start by optimizing in the client and doing some profiling

Metadata

Metadata

Assignees

Labels

A-bainArea: BAIN (BAsh INstallers, in bosh/bain.py)A-perfArea: Performance (runtime performance and/or memory usage)C-internalCategory: Keep track of internal refactoring. Implies the C-todo label except if it is a full C-goalM-relnotesMisc: Issue should be listed in the version history for its milestone

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions