Warning: This is the manual of the legacy Guile 2.2 series. You may want to read the manual of the current stable series instead.

Next: , Previous: , Up: REPL Commands   [Contents][Index]


4.4.4.5 Profile Commands

REPL Command: time exp

Time execution.

REPL Command: profile exp [#:hz hz=100] [#:count-calls? count-calls?=#f] [#:display-style display-style=list]

Profile execution of an expression. This command compiled exp and then runs it within the statprof profiler, passing all keyword options to the statprof procedure. For more on statprof and on the the options available to this command, See Statprof.

REPL Command: trace exp [#:width w] [#:max-indent i]

Trace execution.

By default, the trace will limit its width to the width of your terminal, or width if specified. Nested procedure invocations will be printed farther to the right, though if the width of the indentation passes the max-indent, the indentation is abbreviated.