Opened 7 years ago

Closed 7 years ago

#644 closed defect (fixed)

Cansas XML loader is much slower than before

Reported by: krzywon Owned by: krzywon
Priority: major Milestone: SasView 4.0.0
Component: SasView Keywords:
Cc: Work Package: SasView Bug Fixing


The CanSAS XML loader is much slower than before due to some changes I made to keep backwards compatibility loading save states and saved analyses.

I have a fix in place, but I am testing it further (along with #642) before committing to be sure nothing else breaks.

Change History (1)

comment:1 Changed 7 years ago by krzywon

  • Resolution set to fixed
  • Status changed from new to closed

I fixed an issue where a stack trace was being search every time a recursive method was called, slowing the loading times down to a crawl. Data loading times for canSAS XML went from 1.2 seconds to under 0.1 seconds for a data file to load.

Loading the 1D test data directory takes 1.15 seconds to load now.

Note: See TracTickets for help on using tickets.