Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

This shows that the algorithm is essentially linearly dependent on the number of events (apart from a short initialization timethe inflection between 50 and 100 might be due to memory management, or just noise):

Profiling

I used this command to profile the execution:

...

BoostExecution time (s)Old execution time (s)
107.63620.802
5028.37592.315
10053.868197.87353.868

An easy fix would be to cache the name of the source in the FluxSource class, so that it is only computed once.