www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - nedmalloc vs dmc standard allocator results.

reply zz <zz zz.com> writes:
Here are the differences when compiled using DMC.
See the othe thread on how to get nedmalloc to compile under DMC.

dmc -o -DNDEBUG -DWIN32 -D_WIN32_WINNT=0x0501 test.c

Standard DMC allocator:  624583.696090 ops/sec under 2 threads.
Nedmalloc allocator:    3109062.452439 ops/sec under 2 threads.

Nedmalloc is 4.977816 times faster than standard.

Zz
Jan 08 2007
parent janderson <askme me.com> writes:
zz wrote:
 Here are the differences when compiled using DMC.
 See the othe thread on how to get nedmalloc to compile under DMC.
 
 dmc -o -DNDEBUG -DWIN32 -D_WIN32_WINNT=0x0501 test.c
 
 Standard DMC allocator:  624583.696090 ops/sec under 2 threads.
 Nedmalloc allocator:    3109062.452439 ops/sec under 2 threads.
 
 Nedmalloc is 4.977816 times faster than standard.
 
 Zz
Wow, is there anyway of getting this or something like it into the standard library? -Joel
Jan 08 2007