|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
D - GC benchmarking and phobos problems.
So, I was working on converting a suite of GC benchmarks from C++ and scheme (dunno how long that will take, but it's the best one that I can find...) and I have some gripes. It seems that I can never be sure which GC I'm running. A test that supposedly only takes about 8 secs on a similarly spec'd computer to mine, takes *50* secs in D on my machine. I'm assuming that this is because I'm running the debug GC? (even after rebuilding phobos.) It would be nice to have some better systems in place for switching between debug and release phobos.libs. Also, GC stats just don't work on my system at the moment. Despited being declared in a similar manner to enable and disable, the linker throws this error: gcbench.obj(gcbench) Error 42: Symbol Undefined _Dgc_getStats_FS10gc_GCStatsZv --- errorlevel 1 I've tried a lot of contortions to get it to work, but have failed thus far. What am I doing wrong? I'm worried about the GC slowness, but I'm not sure whether or not it's a problem with me linking the debug GC or what. Hopefully, getting a good suite of tests working will be a start on a good framework for GC improvement and optimization. Evan Nov 16 2002
Evan McClanahan wrote:So, I was working on converting a suite of GC benchmarks from C++ and scheme (dunno how long that will take, but it's the best one that I can find...) and I have some gripes. It seems that I can never be sure which GC I'm running. A test that supposedly only takes about 8 secs on a similarly spec'd computer to mine, takes *50* secs in D on my machine. I'm assuming that this is because I'm running the debug GC? (even after rebuilding phobos.) It would be nice to have some better systems in place for switching between debug and release phobos.libs. Also, GC stats just don't work on my system at the moment. Despited being declared in a similar manner to enable and disable, the linker throws this error: Nov 16 2002
Burton Radons wrote:Evan McClanahan wrote:So, I was working on converting a suite of GC benchmarks from C++ and scheme (dunno how long that will take, but it's the best one that I can find...) and I have some gripes. It seems that I can never be sure which GC I'm running. A test that supposedly only takes about 8 secs on a similarly spec'd computer to mine, takes *50* secs in D on my machine. I'm assuming that this is because I'm running the debug GC? (even after rebuilding phobos.) It would be nice to have some better systems in place for switching between debug and release phobos.libs. Also, GC stats just don't work on my system at the moment. Despited being declared in a similar manner to enable and disable, the linker throws this error: Nov 17 2002
"Evan McClanahan" <evan dontSPAMaltarinteractive.com> wrote in message news:ar86i9$gov$1 digitaldaemon.com...recursive tree allocations, dumping a bunch of stuff on the heap. It's not a great benchmark, but it's just a start. I'm going to be translating, if possible, someone else's whole suite of GC benchmarks, so that we can have a stable way to at least get a good idea of where performance stands when different modifications are tried. Nov 20 2002
|