Somewhat small change. But it was low-hanging fruit, and I needed to make some kind of progress. :)
I'll look into the stress tests and will try to add an appropriate one for the xexpr displaying function. The place where Scribble documentation generation uses a lot of time appears to be the evaluations that feed @interactions. (I have some ideas on pushing the computation for @interactions off to compile-time, but haven't cooked and taste-tested the ideas yet.) There's a surprising amount of time spent turning the part/element structure into the xexprs (about 9 seconds), and I was going to look into that next.
_________________________ Racket Developers list: http://lists.racket-lang.org/dev