You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: episodes/profiling-introduction.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ Increasingly, particularly with relation to HPC, attention is being paid to the
41
41
42
42
Profiling is most relevant to working code, when you have reached a stage that the code works and are considering deploying it.
43
43
44
-
Any code that will run for more than a few minutes over it's lifetime, that isn't a quick one-shot script can benefit from profiling.
44
+
Any code that will run for more than a few minutes over its lifetime, that isn't a quick one-shot script can benefit from profiling.
45
45
46
46
Profiling should be a relatively quick and inexpensive process. If there are no significant bottlenecks in your code you can quickly be confident that your code is reasonably optimised. If you do identify a concerning bottleneck, further work to optimise your code and reduce the bottleneck could see significant improvements to the performance of your code and hence productivity.
alt='Python Optimisation and Performance Profiling Training'
9
9
style='padding: 2%'}
10
10
-->
11
11
12
-
**Welcome to Performance Profiling & Optimisation (Python) Training!**
12
+
**Welcome to Python Optimisation and Performance Profiling Training!**
13
13
14
14
The training curriculum for this course is designed for researchers that are writing Python and lack formal computer science training. The curriculum covers how to assess where time is being spent during execution of a Python program, it also provides a high level understanding of how code executes and how this maps to the limiting factors of performance and good practice.
15
15
16
-
If you are now comfortable using Python, this course may be of interest to supplement and advance your programming knowledge. This course is particularly relevant if you are writing research code and desire greater confidence that your code is both performant and suitable for publication.
17
-
16
+
If you are now comfortable using Python, this course may be of interest to supplement and advance your programming knowledge. This course is particularly relevant if you are writing from scratch or re-using and existing research code and would desire a greater confidence that your code is both performant and suitable for publication.
18
17
This is an all-day course, however it normally finishes by early afternoon.
19
18
20
19
If you would like to register to take the course, check the [registration information](learners/registration.md).
@@ -34,20 +33,20 @@ If you would like to register to take the course, check the [registration inform
After attending this training, participants will be able to:
36
35
37
-
- identify the most expensive functions and lines of code using `cprofile` and `line_profiler`.
38
-
- evaluate code to determine the limiting factors of it's performance.
39
36
- recognise and implement optimisations for common limiting factors of performance.
37
+
- identify the most expensive functions and lines of code using `cprofile` and `line_profiler`.
38
+
- evaluate code to determine the limiting factors of its performance.
40
39
41
40
:::::::::::::::::::::::::::::::::::::::::: prereq
42
41
43
42
## Prerequisites
44
43
45
-
Before joining Performance Profiling & Optimisation (Python) Training, participants should be able to:
44
+
Before joining Python Optimisation and Performance Profiling Training, participants should be able to:
46
45
47
46
- implement basic algorithms in Python.
48
47
- follow the control flow of Python code, and dry run the execution in their head or on paper.
49
48
50
-
See the [Research Computing Training Hub](https://sites.google.com/sheffield.ac.uk/research-training/research-training) for other courses to help with learning these skills.
49
+
See the [Python novice carpentry ](https://icr-rse-group.github.io/carpentry-python-novice/instructor/index.html) for another course to help with learning these skills.
51
50
<!-- TODO: could make a dedicated page (like https://carpentries.github.io/lesson-development-training/markdown-github-primer.html) that highlights specific courses/resources. -->
0 commit comments