On Tue Nov 14 22:48:08 2023 +0000, Fabian Maurer wrote:
Sure attaching it here: [0001-test.patch](/uploads/6bf7ffd561bd6bbbc1e72966e5255b98/0001-test.patch) I measured from starting wine until the picture in the game begins to scroll up 1) this patch: ~15sec 2) master: 47 sec 3) your patch: 47 sec For me your patch doesn't help at all. Compiled from source with -O2. Okay, I didn't notice you secretly updated your patch to use floorf again. This completely negates the performance gains.
FWIW, I created bug 55899 about a performance regression where the stack isn't aligned. Maybe this causes the issues with floor? Because having both your/mine patch for this issue and the one for bug 55899 doesn't make it any faster, only one is enough. But I'd lie if I said I know what#s going on here, I'm pretty confused. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4393#note_52318