Appallingly slow loading of history from a nexus processed file #1922
Labels
High Priority
An issue or pull request that if not addressed is severe enough to postponse a release.
Milestone
Original Reporter: Russell Taylor
The attached file takes about 20 seconds to load, almost all of which is related to the loading of the algorithm history. I've worked out exactly where the problem is, but I don't know enough about the nexus library, or more particularly our wrappers around it, to work out how to fix it.
The problem lines are lines 415 & 416 of LoadNexusProcessed.cpp, which, within the enclosing loop, each account for ~10 seconds of the algorithm duration:
The underlying slow method behind the first line is
NXClass::openNXClass
, that behind the second line isNXClass::openNXChar
. I think they both wind up calling theNXClass::open
method.The text was updated successfully, but these errors were encountered: