[Bug 46955] Performance regression after 3.20 in Assetto Corsa

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jul 21 14:54:18 CDT 2019


https://bugs.winehq.org/show_bug.cgi?id=46955

--- Comment #9 from Sam Bazley <sambazley at protonmail.com> ---
Created attachment 64927
  --> https://bugs.winehq.org/attachment.cgi?id=64927
dwrite log with timings

I've measured how long some functions take to run with gettimeofday.
dwritetextlayout_Draw often takes 1-5ms, which adds up with each string that is
rendered. Here is a list of function calls that originate from
dwritetextlayout_Draw, along with the time that it takes for them run in
microseconds:

dwritetextlayout_Draw 3028
layout_compute_effective_runs 3012
layout_compute 3006
layout_compute_runs 2995
layout_resolve_fonts 2851
fontfallback_MapCharacters 2593
fallback_map_characters 2561

The file attached is a log with +dwrite while I was looking at the Assetto
Corsa setup menu. It includes traces that show the timings for some functions.
These start with "===", which is followed by a few numbers. The first number is
the total time taken for that function.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list