Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This is essentially only checking if the name contains "TimeTick", because in that case it has to generate a new piece of simulated FT2 file. In my case I am using a real FT2 file, so the check is false. Now, as a quick-and-dirty fix, just by substituting that line with:

...

BoostExecution time (s)Old execution time (s)
107.63620.802
5028.37592.315
100197.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.