Profiling infrastructure.
This commit is contained in:
parent
7fcd3587b5
commit
c03bf183a0
|
@ -15,6 +15,14 @@
|
||||||
(editor-mainloop e))
|
(editor-mainloop e))
|
||||||
|
|
||||||
(module+ main
|
(module+ main
|
||||||
(local-require racket/trace)
|
(require racket/trace)
|
||||||
(current-trace-notify (lambda (s) (log-info "TRACE: ~a" s)))
|
(current-trace-notify (lambda (s) (log-info "TRACE: ~a" s)))
|
||||||
(void (main)))
|
(void (main))
|
||||||
|
;; (require profile)
|
||||||
|
;; (require ansi)
|
||||||
|
;; (void (profile-thunk (lambda () (begin0 (main)
|
||||||
|
;; (tty-restore!)
|
||||||
|
;; (display (select-graphic-rendition style-normal))
|
||||||
|
;; (display (clear-screen))
|
||||||
|
;; (flush-output)))))
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in New Issue