[<<][staapl][>>][..]
Sun Jun 7 19:15:33 CEST 2009

profiling

Maybe have a look at the mzscheme profiler.  It would be nice to speed
up compilation a bit.

(define (start)
  (instrumenting-enabled #t)
  (profiling-enabled #t)
  (profiling-record-enabled #t))
(start)

(define (stop)
  (output-profile-results #t #t))

 (start)
(require (file ...)) ;; make sure there are no compiled files!
(stop)


This gives more info:

 (syntax->datum (syntax-case (get-profile-results) () (stuff #'stuff)))

Probably best to get the source loc info from that..  Now, how to up
the sample rate?



[Reply][About]
[<<][staapl][>>][..]