Skip to content

Commit

Permalink
Merge pull request #146 from amire80/codespell
Browse files Browse the repository at this point in the history
Fix spelling errors in comments
  • Loading branch information
cyberpower678 committed May 22, 2024
2 parents 580d51f + be00256 commit c3a675c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions app/src/html/Includes/xhprof/utils/callgraph_utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function xhprof_http_header( $name, $value ) {
}

/**
* Genearte and send MIME header for the output image to client browser.
* Generate and send MIME header for the output image to client browser.
*
* @author cjiang
*/
Expand Down Expand Up @@ -156,7 +156,7 @@ function xhprof_get_children_table( $raw_data ) {
* @param raw_data , phprof profile data.
* @param threshold , float, the threshold value [0,1). The functions in the
* raw_data whose exclusive wall times ratio are below the
* threshold will be filtered out and won't apprear in the
* threshold will be filtered out and won't appear in the
* generated image.
* @param page , string(optional), the root node name. This can be used to
* replace the 'main()' as the root node.
Expand Down Expand Up @@ -441,7 +441,7 @@ function xhprof_render_diff_image( $xhprof_runs_impl, $run1, $run2,
* $xhprof_legal_image_types.
* @param threshold , float, the threshold value [0,1). The functions in the
* raw_data whose exclusive wall times ratio are below the
* threshold will be filtered out and won't apprear in the
* threshold will be filtered out and won't appear in the
* generated image.
* @param func , string, the focus function.
* @returns, string, the DOT script to generate image.
Expand Down Expand Up @@ -482,7 +482,7 @@ function xhprof_get_content_by_run( $xhprof_runs_impl, $run_id, $type,
* $xhprof_legal_image_types.
* @param threshold , float, the threshold value [0,1). The functions in the
* raw_data whose exclusive wall times ratio are below the
* threshold will be filtered out and won't apprear in the
* threshold will be filtered out and won't appear in the
* generated image.
* @param func , string, the focus function.
* @param bool , does this run correspond to a PHProfLive run or a dev run?
Expand Down
2 changes: 1 addition & 1 deletion app/src/html/Includes/xhprof/utils/xhprof_lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ function xhprof_trim_run( $raw_data, $functions_to_keep ) {

/**
* Takes raw XHProf data that was aggregated over "$num_runs" number
* of runs averages/nomalizes the data. Essentially the various metrics
* of runs and averages/normalizes the data. Essentially the various metrics
* collected are divided by $num_runs.
*
* @author Kannan
Expand Down

0 comments on commit c3a675c

Please sign in to comment.