Hello, Robby! Thank you for your reply.

I have done quoting out register-collecting-blit and the flashing gc icon 
disappeared. But the feeling of slowness is still present, I afraid.

I am timing execution with cursor blinks: it blinks once or twice in DrRacket 
6.5 while (+ 1 1) execution, but in DrRacket 6.2.1 this code executes almost 
immediately.
But more complex expressions aren’t executed proportionally slower - the same 
one blink.

P.S. May be it is just some strange cognitive effect. Is there a way to measure 
time from run button pressing to printing execution results precisely and 
objectively somehow?

> On 16 Aug 2016, at 02:52, Robby Findler <ro...@eecs.northwestern.edu> wrote:
> 
> Hi Ivan: here is another experiment to try. What happens if you follow
> these steps:
> 
> - start DrRacket
> - open "Language" menu's "Choose Language..." menu item
> - select "The Racket Language" (click ok to close the dialog)
> - select the "File" menu's "Open Require Path..." menu item
> - type "fr/pr/frame" in the dialog and hit return
> - search for "(register-c" in that file. You should see a call to
> register-collecting-blit around line 912 or so
> - put a quote in front of it (to stop it from executing), the code
> should be like this:
> 
>          '(register-collecting-blit gc-canvas
>                                    0 0
>                                    (send onb get-width)
>                                    (send onb get-height)
>                                    onb offb)
> 
> - save the file and restart DrRacket
> 
> At this point, redo your experiment that was very slow earlier (you
> may need to switch back to one of the teaching languages in the
> "Choose Language..." dialog to fully replicate your experiment).
> 
> If the steps above worked, you will have disabled the flashing gc
> icon, so if you were using that to time your DrRacket, then use
> something else (a watch, maybe).
> 
> Thanks in advance!
> 
> Robby

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to