Skip to content
This repository has been archived by the owner on Feb 26, 2021. It is now read-only.

Commit

Permalink
Text
Browse files Browse the repository at this point in the history
  • Loading branch information
cstjean committed Sep 16, 2017
1 parent e250107 commit 0199b0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@
"\n",
"#### Tracing tips\n",
"\n",
"It might be tempting to run `@trace MyModule some_long_computation()`, but a) there is a non-negligible cost to every traced call, and b) a trace with a million calls is too large and unwieldy to be of much use anyway. If you are only interested in the details of one particular `my_fun` call that happens during `some_long_computation()`, then it's usually better to do something like this:\n",
"It might be tempting to run `@trace MyModule some_long_computation()`, but a) there is a small cost to every traced call, and b) a trace with a million calls is too large and unwieldy to be of much use anyway. If you are only interested in the details of one particular `my_fun` call that happens during `some_long_computation()`, then it's usually better to do this:\n",
"\n",
"```julia\n",
"trace_my_fun = @trace my_fun some_long_computation() # fast, because we're only tracing one function\n",
Expand Down

0 comments on commit 0199b0a

Please sign in to comment.