Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 329839

Summary: Running with Simulation Control view open severely slows down execution
Product: [Technology] STEM Reporter: Stefan Edlund <sedlund>
Component: UIAssignee: Stefan Edlund <sedlund>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 1.1.2   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Stefan Edlund CLA 2010-11-09 13:10:18 EST
I downloaded the MultiPopulationExample demo from the web site and ran one of the scenarios. When the simulation control view was open, the scenario ran very slow and CPU was only around 25 % (I used 4 threads, same as the number of cores). When I closed the simulation control, the scenario speeds up dramatically and the CPU goes up to 70-80 %.
Comment 1 Stefan Edlund CLA 2010-11-09 13:23:55 EST
Excessive events was sent to the SimulationControl, a leftover from when we used to have a progress bar to indicate the progress for a single simulation step. Simply removing the adapter sending those events fixed this.
Comment 2 Stefan Edlund CLA 2010-11-09 13:36:34 EST
Close