Draft
Conversation
wwarriner
requested changes
Aug 23, 2024
Contributor
wwarriner
left a comment
There was a problem hiding this comment.
Great, please keep it up! Just a few suggestions as you're working toward this.
| @@ -0,0 +1,94 @@ | |||
| # Profiling | |||
|
|
|||
| Profiling is essential for assessing how different parts of a program execute and gathering crucial performance data. It plays a vital role in debugging, pinpointing bottlenecks, optimizing code, and scaling application performance. This analysis identifies common issues such as out-of-bound memory, segmentation faults, bus errors, and runtime overhead, enabling effective troubleshooting and improvement strategies. | |||
Contributor
There was a problem hiding this comment.
Please define some of these terms.
- out-of-bounds memory
- segmentation fault
- bus error
- runtime
- bottleneck
| 2. Memory Profling | ||
| 3. CPU Profling | ||
|
|
||
| !!! note |
Contributor
There was a problem hiding this comment.
Make sure to fix this admonition, it doesn't appear to be formatted correctly.
|
|
||
| ## Profiling Python Codes | ||
|
|
||
| Three common profiling techniques used in analyzing Python codes are discussed briefly in this section. |
Contributor
There was a problem hiding this comment.
In a short paragraph, give the purpose for each. Why would I want to use time vs CPU vs memory profiling?
|
|
||
| The following example shows profiling a input python code that calculates num_array. | ||
|
|
||
| ```bash |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
A tutorial on Profiling software execution.
Overview
This tutorial page introduces various profiling techniques for analyzing software execution, with a focus on analyzing Python-based code.
Proposed Changes
Related Issues
Partial fix of #504