First call to time/collect reports bogus results?
Bug #165256 reported by
Abdulaziz Ghuloum
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ikarus Scheme |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Ikarus Scheme version 0.0.2-rc1+ (revision 1133, build 2007-11-26)
Copyright (c) 2006-2007 Abdulaziz Ghuloum
> (time (collect))
running stats for (collect):
1 collection
36 ms elapsed cpu time, including 36 ms collecting
36 ms elapsed real time, including 36 ms collecting
12312 bytes allocated ;;; who is using these 12K?
> (time (collect))
running stats for (collect):
1 collection
0 ms elapsed cpu time, including 0 ms collecting
0 ms elapsed real time, including 0 ms collecting
24 bytes allocated ;;; this is more like it
>
To post a comment you must log in.
The numbers are actually correct since the gc may itself allocate some memory for the hash tables and the guardians mechanisms.