Deadline for submissions extended to 8th of May. See call details

Is your research code (in Python) slower than you’d like it to be? Do you want to optimise your code performance, but you’re not sure how? This introductory level one-day workshop will show you how to assess where time is being spent during execution of a Python program and introduce good practices for optimising your code. It will also provide a high level overview of how code executes and how this maps to the limiting factors of performance.

More Information

This course was developed by SIG-RPC and previously delivered e.g., at University of Sheffield and several London-based institutions (via the STEP-UP dRTP platform). By delivering it as a satellite event at RSECon26, we aim to reach a wider cross-section of the UK and international RSE community. We also intend to raise awareness of sustainable computing practices and of how SIG-RPC’s training materials can help develop more efficient code.

The event is aimed at early- and mid-career researchers and RSEs who are comfortable writing Python code for their research workflows, but want to advance their programming knowledge and write more efficient code.

After attending this training event, participants will be able to:

  • identify the most expensive functions and lines of code using cProfile and line_profiler
  • evaluate code to determine the limiting factors of its performance
  • recognise and implement optimisations for common limiting factors of performance

Participants are encouraged to bring their own Python projects for use in hands-on exercises throughout the day.