Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#1846 closed defect (done)

Changing the InputVariables of a ProblemData can be very slow

Reported by: mkommend Owned by: mkommend
Priority: medium Milestone: HeuristicLab 3.3.7
Component: Problems.DataAnalysis Version: 3.3.7
Keywords: Cc:

Description

When dealing with larger datasets changing the allowed input variables is very slow.

Change History (6)

comment:1 Changed 5 years ago by mkommend

  • Status changed from new to accepted

comment:2 Changed 5 years ago by mkommend

r7796: Excluded DateTime[] and string[] from object graph traversing.

The reason is that due to changes in the Dataset it can contain DateTime[] and string[]. Changing the input variables of a problem data triggers a problem reset event and the surrounding algorithm is prepared. During the preparation of an algorithm all discovered IStatefulItems are initialized, which are discovered by object graph traversal. As previously DateTime[] and string[] were further processed, several thousand unnecessary calls were executed that results in a lag when input variables are changed.

comment:3 Changed 5 years ago by mkommend

  • Owner changed from mkommend to ascheibe
  • Status changed from accepted to reviewing

comment:4 Changed 5 years ago by ascheibe

  • Owner changed from ascheibe to mkommend
  • Status changed from reviewing to readytorelease

comment:5 Changed 5 years ago by gkronber

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

comment:6 Changed 5 years ago by gkronber

  • Version changed from 3.3.6 to 3.3.7
Note: See TracTickets for help on using tickets.