diff --git a/collects/typed-racket/scribblings/guide/optimization.scrbl b/collects/typed-racket/scribblings/guide/optimization.scrbl index cffb7038e5..ae16057667 100644 --- a/collects/typed-racket/scribblings/guide/optimization.scrbl +++ b/collects/typed-racket/scribblings/guide/optimization.scrbl @@ -167,8 +167,9 @@ you get the most of the Typed Racket optimizer. Similar information (albeit without in-depth explanations or advice) is available from the command line. When compiling a Typed Racket program, setting the racket @seclink[#:doc '(lib "scribblings/reference/reference.scrbl") -"logging"]{logging} facilities to the @racket['debug] level causes Typed -Racket to display performance debugging information. Setting the Racket logging -level can be done on the command line with the @racket[-W] flag: +"logging"]{logging} facilities to the @racket['debug] level and listening to +the @racket['TR-optimizer] logger causes Typed Racket to display performance +debugging information. Setting the Racket logging level can be done on the +command line with the @racket[-W] flag: -@commandline{racket -W debug my-typed-program.rkt} +@commandline["racket -W debug@TR-optimizer my-typed-program.rkt"]