Re: [racket] Garbage collection informaton

2011-09-30 Thread Curtis Dutton
Thank you very much guys! -Curtis On Thu, Sep 29, 2011 at 8:40 PM, Vincent St-Amour wrote: > At Thu, 29 Sep 2011 18:12:32 -0600, > Matthew Flatt wrote: > > * If you create a log receiver within Racket, you can look for > >messages that have a `gc-info' prefab struct (10 fields) value, > >

Re: [racket] Garbage collection informaton

2011-09-29 Thread Vincent St-Amour
At Thu, 29 Sep 2011 18:12:32 -0600, Matthew Flatt wrote: > * If you create a log receiver within Racket, you can look for >messages that have a `gc-info' prefab struct (10 fields) value, >which provides all the information in the string message plus start >and end times in real time (l

Re: [racket] Garbage collection informaton

2011-09-29 Thread Matthew Flatt
I've pushed a change to GC logging to the git repo: * The logged message test now includes the start time in CPU milliseconds (like `current-process-milliseconds'). * If you create a log receiver within Racket, you can look for messages that have a `gc-info' prefab struct (10 fields) valu

[racket] Garbage collection informaton

2011-09-28 Thread Curtis Dutton
I'm in the midst of writing a nice performance/stress testing harness for racket. To measure performance with a GC language, it is very important to be able to log accurate GC occurrences, along with how long they take. The debug log seems to really output what I need except maybe a call to (curr