Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329839 - Running with Simulation Control view open severely slows down execution
Summary: Running with Simulation Control view open severely slows down execution
Status: CLOSED FIXED
Alias: None
Product: STEM
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 1.1.2   Edit
Assignee: Stefan Edlund CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-09 13:10 EST by Stefan Edlund CLA
Modified: 2010-11-09 13:36 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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