Opened 6 months ago

Last modified 4 months ago

#2694 reviewing enhancement

Lazy-loading of the ExportDialog in the EnchancedChart

Reported by: pfleck Owned by: abeham
Priority: medium Milestone: HeuristicLab 3.3.15
Component: Visualization.ChartControlsExtensions Version: 3.3.14
Keywords: Cc:


The ExportDialog is currently instantiated during the constructor of the EnhancedChart. Because the ExportDialog is not always used, it should be loaded lazily.

This can be an issue if many charts are created (e.g. a 10x10 grid of charts).

Times to instantiate 10 000 EnhancedCharts:

  • regular: ca 1m16s
  • lazy: ca 3s

Change History (3)

comment:1 Changed 6 months ago by pfleck

  • Status changed from new to accepted

comment:2 Changed 6 months ago by pfleck

r14369: Created the ExportDialog lazily.

Threading should not be an issue because the new ExportDialog property is only accessed in the exportToolStripMenuItem_Click method, which is called on the GUI thread.

comment:3 Changed 4 months ago by pfleck

  • Owner changed from pfleck to abeham
  • Status changed from accepted to reviewing
Note: See TracTickets for help on using tickets.