Skip to content

Configuration calculation takes too long and causes config XML files not to save #907

@RPRoberts

Description

@RPRoberts

Prerequisitives

  • Eclipse Version: 4.12 (used both platform and committers bundles found on release page)
  • FeatureIDE-Version: 3.6
  • Operating system: Windows 10
  • Java runtime used to run eclipse: jre1.8.0_221
  • FeatureIDE Composer: Add text here (optional, leave blank if not needed)
  • Git branch/Commit-ID: Add text here (optional, leave blank if not needed)
  • Java compiler used to build the FeatureIDE plugin: Add text here (optional, leave blank if not needed)

Issue description

While using the configuration editor, the plugin runs the calculation for validity checks and number of the remaining option permutations every time you check a box in the configuration. I've used task manager to see that checking a single box when using a model with 25+ features will cause my CPU to spike to 100% and stay there until the calculation is done (15+ seconds in some cases early on when 100k+ combinations are possible still). During this time, if I try to save the config XML file and close the XML (or move to another config tab), the changes I just made were lost. Is it possible to move calculations to be a manual option to avoid this behavior on lower end machines?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions