[racket-dev] Inline caching (was Re: my '312' this semester, how we compare to others)

From: Ryan Culpepper (ryanc at ccs.neu.edu)
Date: Wed May 4 20:18:21 EDT 2011

On 05/04/2011 04:49 PM, Tony Garnock-Jones wrote:
> The attached (highly experimental) patch seems to improve the
> performance of normal sends (in the case of a cache hit) by roughly 100%
> - 150%. The difference between this mere factor of two improvement and
> the factor of six-through-ten I was seeing earlier is, I speculate,
> related to object-ref taking a lot of time.
>
> Interestingly, the performance of (send something message) is, with this
> patch, seemingly roughly en par with the performance of generics
> captured using generic and invoked using send-generic.
>
> I haven't yet tried running a full racket system with this patch
> applied. I wonder if it makes a difference to the interactive
> performance of DrRacket?

Robby: What happened to the drracket automated gui tests? I remember 
there used to be an environment variable to enable the button that ran 
them, but I can't find it in the manual or in the source tree.

Ryan


Posted on the dev mailing list.