Free cookie consent management tool by TermsFeed Policy Generator

Changes between Initial Version and Version 3 of Ticket #1424


Ignore:
Timestamp:
03/02/11 10:25:19 (13 years ago)
Author:
cneumuel
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1424

    • Property Summary changed from Performance issues when executing more than 17 algorithm clones to Performance issues when executing more than 17 algorithms
  • Ticket #1424 – Description

    initial v3  
    1 When more than 17 clones of an algorithm are executed, most of the execution time is spent in `set_ExecutionContext` of `Operator` and `Parameter`, which leads to a significant slowdown.
     1When more than 17 instances of an algorithm are executed, most of the execution time is spent in `set_ExecutionContext` of `Operator` and `Parameter`, which leads to a significant slowdown.
    22
    3 This behaviour can be reproduced by cloning an algorithm more than 17 times and then execute them sequentially. After the 17. algorithm the execution time drops quickly, reaching 100X slowdown after ~36 algorithm executions. Further executions reduce performance even more.
     3This behaviour can be reproduced by creating more than 17 instances of an algorithm and then execute them sequentially. After the 17. algorithm the execution time drops quickly, reaching 100X slowdown after ~36 algorithm executions. Further executions reduce performance even more.
    44
    55The following log shows the execution times of a `GeneticAlgorithm` with `PopulationSize`=10 and `MaximumGenerations`=10, cloned and executed 50 times:
     
    6060My tests showed that this effect only occurs if all the executed algorithms stay in memory. If the algorithm clones have no more references in memory, the garbage collector takes care of them and there is no performance issue.
    6161
     62To clarify: this has nothing to do with cloning. It also happens when all instances are created independently.
     63
    6264Steps to reproduce:
    6365 * Create an HL-Experiment