https://bugs.winehq.org/show_bug.cgi?id=57218
Bug ID: 57218 Summary: RtlReAllocateHeap slow compared to RtlHeapFree + RtlAllocateHeap combos on wine Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: euloanty@live.com Distribution: ---
this breaks realloc
https://bugs.winehq.org/show_bug.cgi?id=57218
cqwrteur euloanty@live.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |euloanty@live.com
--- Comment #1 from cqwrteur euloanty@live.com --- Created attachment 77130 --> https://bugs.winehq.org/attachment.cgi?id=77130 heaprealloc result
[cqwrteur@DESKTOP-9B705LH 0001.string_push_back]$ wine ./fast_io_heaprealloc.exe fast_io:0.0202311s 50000005000000 [cqwrteur@DESKTOP-9B705LH 0001.string_push_back]$ wine ./fast_io_noheaprealloc.exe fast_io:0.0169487s 50000005000000 [cqwrteur@DESKTOP-9B705LH 0001.string_push_back]$ wine ./std.exe std:0.0205867s 50000005000000
just significant slow down for unknown reason while on windows it does not have this issue. there is no reason why realloc is slower than malloc + free combo
I did report the same bug before?
https://bugs.winehq.org/show_bug.cgi?id=53419
https://bugs.winehq.org/show_bug.cgi?id=57218
cqwrteur euloanty@live.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gofmanp@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=57218
--- Comment #2 from cqwrteur euloanty@live.com --- on my android phone the gap is even larger
https://bugs.winehq.org/show_bug.cgi?id=57218
--- Comment #3 from cqwrteur euloanty@live.com --- Benchmark code is here https://github.com/trcrsired/fast_io/tree/master/benchmark/0011.containers/s...