On Thursday, December 3, 2015 at 8:03:10 AM UTC-5, Matthew Flatt wrote:
> At Wed, 2 Dec 2015 16:23:34 -0800 (PST), JCG wrote:
> > On Wednesday, December 2, 2015 at 10:44:47 AM UTC-5, Matthew Flatt wrote:
> > > The development version of Racket now supports an incremental
> > > garbage-collection mode that can eliminate long pauses in a program.
> > > For example, incremental mode is useful for avoiding pauses in games
> > > and animations.
> > 
> > By chance then will the Dr. Racket environment itself honor the 
> > PLT_INCREMENTAL_GC variable and perhaps benefit from the less noticeable 
> > GC? 
> 
> Give it a try. I think you'll find that long pauses are reduced, but

Tried it with 50 GC observations with and without PLT_INCREMENTAL_GC. 

Without the environment variable, I had two major GCs of 1052ms and 1060ms and 
an average minor GC of 24ms.

With the environment variable set, I had one major GC of 488 ms and an average 
minor GC or 45ms.

It was definitely less jerky from a user standpoint.



-- 
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