changing the profiler settings to I can see more.
This commit is contained in:
parent
bf5698c0fa
commit
ccb06c9370
|
@ -4,7 +4,7 @@
|
||||||
(require "private/command.rkt"
|
(require "private/command.rkt"
|
||||||
"parameters.rkt"
|
"parameters.rkt"
|
||||||
"whalesong-helpers.rkt"
|
"whalesong-helpers.rkt"
|
||||||
profile
|
profile profile/render-text
|
||||||
(for-syntax racket/base))
|
(for-syntax racket/base))
|
||||||
|
|
||||||
;; Command line for running Whalesong.
|
;; Command line for running Whalesong.
|
||||||
|
@ -39,7 +39,13 @@
|
||||||
[(_ expr)
|
[(_ expr)
|
||||||
(syntax/loc stx
|
(syntax/loc stx
|
||||||
(if (with-profiling?)
|
(if (with-profiling?)
|
||||||
(profile expr)
|
(profile expr
|
||||||
|
#:threads #t
|
||||||
|
#:delay 0.01
|
||||||
|
#:render (lambda (profile)
|
||||||
|
(render profile
|
||||||
|
#:truncate-source 500)))
|
||||||
|
|
||||||
expr))]))
|
expr))]))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user