This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Perfomance of gc-simple
- To: gcc at gcc dot gnu dot org
- Subject: Perfomance of gc-simple
- From: Laurynas Biveinis <lauras at softhome dot net>
- Date: Sat, 06 May 2000 09:41:12 +0300
- CC: DJGPP Workers <djgpp-workers at delorie dot com>
DJGPP has no mmap() nor valloc(), so it has to use
simple GC which leads to absurd compilation times
when bootstraping compiler:
While compiling toplev.c in stage2, it does GC once
{GC 5404k -> 1254k} but does it in huge amount of time:
[0% entries sniped]
Execution times (seconds)
garbage collection :1032.58 (97%) usr 0.00 ( 0%) sys1032.58 (97%) wall
parser : 6.53 ( 1%) usr 0.00 ( 0%) sys 6.53 ( 1%) wall
CSE : 5.71 ( 1%) usr 0.00 ( 0%) sys 5.71 ( 1%) wall
TOTAL :1067.52 0.00 1067.52
This is not the way to go. Does anyone have any advices how to speed it up?
I recall Alexandre Oliva starting discussion about making gc-page use simple
malloc(), what about that?
Laurynas Biveinis