Re: ntdll: Heap implementation has a performance bottleneck

2006-07-21 Thread Michael Kaufmann
Alexandre Julliard wrote: A quick fix is to add more free list entries, and in particular an entry for very small blocks since your test case seems to create a lot of them. Something like this seems to work well: Thank you Alexandre, this patch speeds up HomeSite a lot. It's still not as fast

Re: ntdll: Heap implementation has a performance bottleneck

2006-07-21 Thread Alexandre Julliard
Michael Kaufmann <[EMAIL PROTECTED]> writes: > HomeSite's syntax checker needs 120 seconds to load on Wine because of > Wine's poor heap implementation. Most users will think that the > program has crashed. I have created a trace of HomeSite's memory > requests and a program to replay them. For de

Re: ntdll: Heap implementation has a performance bottleneck

2006-07-19 Thread Frank Richter
On 18.07.2006 23:21, Michael Kaufmann wrote: > Hi, > > I have discovered that Wine's heap implementation (HeapAlloc(), > HeapFree(), etc. in dlls/ntdll/heap.c) is very slow if many small memory > blocks are allocated and freed. Somebody has reported this before: > http://www.winehq.org/pipermail/w

ntdll: Heap implementation has a performance bottleneck

2006-07-18 Thread Michael Kaufmann
Hi, I have discovered that Wine's heap implementation (HeapAlloc(), HeapFree(), etc. in dlls/ntdll/heap.c) is very slow if many small memory blocks are allocated and freed. Somebody has reported this before: http://www.winehq.org/pipermail/wine-devel/2005-February/034095.html HomeSite's synt