Skip to content

Commit

Permalink
Wording
Browse files Browse the repository at this point in the history
  • Loading branch information
cstjean committed Feb 17, 2018
1 parent fadbd55 commit cfe8f7d
Showing 1 changed file with 1 addition and 30 deletions.
31 changes: 1 addition & 30 deletions Manual.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"(<i>REPL note</i>: if the output of `flat` looks [wonky](https://github.com/JuliaData/DataFrames.jl/issues/1272), try `Matrix(flat(pd))`)\n",
"(<i>REPL note</i>: if the output of `flat` gets [split up](https://github.com/JuliaData/DataFrames.jl/issues/1272), try `Matrix(flat(pd))`)\n",
"\n",
"The first column shows what fraction of backtraces (in %) go through the `method at file:line_number` in the `stackframe` column. It's the same quantity as in `Base.Profile.print()`, except for recursive calls: if `factorial(2)` calls `factorial(1)`, that's 2 counts in Base's report, but only 1 count in FProfile.\n",
"\n",
Expand Down Expand Up @@ -576,35 +576,6 @@
"source": [
"Use the `get_method, get_file, ...` functions on `StackFrame` objects (see above). `tree(pd::ProfileData)` is defined as `tree(backtraces(pd))`, and similarly for `flat`, so you can modify the backtraces and get a tree/flat view of the results."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Scratch"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"ProfileData(49 backtraces)"
]
},
"execution_count": 1,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"using FProfile, Calculus\n",
"\n",
"pd = @fprofile second_derivative(sin, 1.0)"
]
}
],
"metadata": {
Expand Down

0 comments on commit cfe8f7d

Please sign in to comment.