[racket] deceptive perfomance for typed racket in integer division

From: Pierpaolo Bernardi (olopierpa at gmail.com)
Date: Tue Dec 11 11:38:04 EST 2012

On Tue, Dec 11, 2012 at 5:28 PM, Sam Tobin-Hochstadt <samth at ccs.neu.edu> wrote:

>> This looks like you are testing from inside DrRacket.  As I already
>> wrote you should generate an executable and measure that.
>>
>> If you run the test from inside DrRacket, you are measuring DrRacket
>> overhead, which is far from negligible.
>
> While you're certainly right about DrRacket introducing noise in
> performance measurement, I don't think you need to generate an
> executable to eliminate that overhead.  Simply running `racket` from
> the command line on a file in a module ought to be sufficient.

Ah! Yes. Of course. Thanks.

P.

Posted on the users mailing list.