summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorRan Benita <ran@unusedvar.com>2020-11-19 00:28:37 +0200
committerRan Benita <ran@unusedvar.com>2020-11-20 13:04:21 +0200
commit1bd3b3c7cb52ae77667d45cb46e8b5af3046a8d7 (patch)
tree067bb54b2daf23dcef11c24aed3ac8b65f8c4d9c /NEWS
parentf41e609bbea8447fc82849a1a6ea0d116189f2f8 (diff)
downloadxorg-lib-libxkbcommon-1bd3b3c7cb52ae77667d45cb46e8b5af3046a8d7.tar.gz
x11: cache X11 atoms
On every keymap notify event, the keymap should be refreshed, which fetches the required X11 atoms. A big keymap might have a few hundred of atoms. A profile by a user has shown this *might* be slow when some intensive amount of keymap activity is occurring. It might also be slow on a remote X server. While I'm not really sure this is the actual bottleneck, caching the atoms is easy enough and only needs a couple kb of memory, so do that. On the added bench-x11: Before: retrieved 2500 keymaps from X in 11.233237s After : retrieved 2500 keymaps from X in 1.592339s Signed-off-by: Ran Benita <ran@unusedvar.com>
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions