diff options
author | Morten Johan Sorvig <morten.sorvig@digia.com> | 2012-12-13 14:54:47 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-01-02 07:47:46 +0100 |
commit | 818c544d6be0daf399ad69222b196e75e6b54505 (patch) | |
tree | a5ae8b009a1cde40377aa2e5447a37a6de8c342e /src/plugins/platforms/windows/qwindowsfontenginedirectwrite.cpp | |
parent | 3f374afaae93a7804ee367098719c8a178d906f8 (diff) |
Cache accessibility plugins.
Profiling shows that the cost of QAcccessible::
queryAccessibleInterface is dominated by plugin loading.
(json parsing etc.)
Cache QAccessiblePlugin per class. Also cache the fact
that no plugin is found for a certain class. This speeds
up the average queryAccessibleInterface call by a factor
of 10X
Change-Id: Iab6d052dec499a2203d1dcc4672a8a543b279239
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Diffstat (limited to 'src/plugins/platforms/windows/qwindowsfontenginedirectwrite.cpp')
0 files changed, 0 insertions, 0 deletions