The Scribble docs for my Rebellion <https://github.com/jackfirth/rebellion> 
package take nearly two minutes to build. I have a hunch that most of the 
time is spent compiling, evaluating, and rendering example code. Every one 
of my Scribble modules is structured roughly like this:

#lang scribble/manual

(require ...)

(define make-evaluator
  (... build an evaluator factory using make-base-eval-factory ...))

...

@defwhatever[...]{

 @(examples
   #:eval (make-evaluator) #:once
   ... example code here ...)}

Does this pattern have any performance or memory usage problems? Is there 
more I can do to speed things up? How do I profile Scribble docs? Is it 
normal for `raco setup` to spend much more time building my documentation 
than it spends actually compiling my library's code?

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/ecf4481e-601f-4883-92bd-0506b35957c5%40googlegroups.com.

Reply via email to