Opened 11 months ago

Closed 3 months ago

#2694 closed enhancement (done)

Lazy-loading of the ExportDialog in the EnchancedChart

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

Description

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 (5)

comment:1 Changed 11 months ago by pfleck

  • Status changed from new to accepted

comment:2 Changed 11 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 9 months ago by pfleck

  • Owner changed from pfleck to abeham
  • Status changed from accepted to reviewing

comment:4 Changed 5 months ago by abeham

  • Owner changed from abeham to pfleck
  • Status changed from reviewing to readytorelease

Reviewed r14369.

comment:5 Changed 3 months ago by pfleck

  • Resolution set to done
  • Status changed from readytorelease to closed

r15039: merged r14369 from trunk to stable

Note: See TracTickets for help on using tickets.