Feature #2336

Make reflectometry computation as fast as in Refnx

Added by juan 7 months ago. Updated 6 months ago.

Status:BacklogStart date:04 Apr 2019
Priority:LowDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

During our last group meeting, we decided to carry out several performance tests:

  • Time scaling with the number of layers
  • Time taken to run a simple simulation
  • Time scaling with the simulation resolution

The results are not satisfactory as can be seen from the following notebook:

https://nbviewer.jupyter.org/github/juanmcloaiza/BornAgainReflectometryComparison/blob/master/PerformanceTests/BornAgain_Performance_Analysis.ipynb

As this issue is not a priority for the moment (is it?), I suggest to keep further investigations and possible fixes on the backlog.
However, looking ahead for a possible fix, I did some experimenting on reusing an already performing piece of code and embedding it inside a python API --which could also be a GUI for that matter:

https://nbviewer.jupyter.org/github/juanmcloaiza/BornAgainReflectometryComparison/blob/master/PerformanceTests/Reusing_an_already_performing_engine.ipynb

History

#1 Updated by wuttke 6 months ago

  • Tracker changed from Testing to Feature
  • Subject changed from BornAgain performance is not optimal to Make reflectometry computation as fast as in Refnx
  • Status changed from New to Backlog
  • Priority changed from Normal to Low

Also available in: Atom PDF