Skip to content

Investigate python performance - Xana multi-tau correlator code #7

@RobertRosca

Description

@RobertRosca

Some benchmarking showed that SAXS and XPCS functions took up the majority of the code processing time, the profiling results can be seen here:

low, 10 trains, 2 jobs, 2 procs:

SAXS was largely bottlenecked by pyFAI, and there isn't too much we can do for that (apart from maybe looking a bit into ways to avoid potentially unneeded repeated calls to pyFAI?), but the XPCS functions come out of Xana, which we can more easily work on.

The main section of code is from Xana/XpcsAna/mp_corr3_err.py, finding a more well-optimised multi-tau autocorrelation function could potentially lead to a nice speedup in execution time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions